net.sf.jportlet.portlet.application
Interface PortletApplication

All Known Implementing Classes:
PortletApplicationImpl

public interface PortletApplication

Container of Portlets

Author:
Herve Tchepannou

Field Summary
static java.lang.String INFOS
           
static int MAJOR_VERSION
           
static int MINOR_VERSION
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
           
 java.util.Enumeration getAttributeNames()
           
 java.lang.String getInitParameter(java.lang.String name)
           
 java.util.Enumeration getInitParameterNames()
           
 net.sf.jportlet.portlet.Portlet getPortlet(java.lang.String name)
          Returns a Portlet by its name
 java.util.Enumeration getPortletNames()
           
 net.sf.jportlet.service.PortletServiceFactory getPortletServiceFactory()
           
 void removeAttribute(java.lang.String name)
           
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 

Field Detail

MAJOR_VERSION

public static final int MAJOR_VERSION
See Also:
Constant Field Values

MINOR_VERSION

public static final int MINOR_VERSION
See Also:
Constant Field Values

INFOS

public static final java.lang.String INFOS
See Also:
Constant Field Values
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String name)

getAttributeNames

public java.util.Enumeration getAttributeNames()

getInitParameter

public java.lang.String getInitParameter(java.lang.String name)

getInitParameterNames

public java.util.Enumeration getInitParameterNames()

getPortlet

public net.sf.jportlet.portlet.Portlet getPortlet(java.lang.String name)
                                           throws PortletNotFoundException
Returns a Portlet by its name

Parameters:
name - name of the portlet
Returns:
Portlet
Throws:
PortletNotFoundException - if the portlet not found

getPortletNames

public java.util.Enumeration getPortletNames()

removeAttribute

public void removeAttribute(java.lang.String name)

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)

getPortletServiceFactory

public net.sf.jportlet.service.PortletServiceFactory getPortletServiceFactory()


Copyright © 2002 Herve Tchepannou. All Rights Reserved.