net.sf.jportlet.impl
Class PortletApplicationImpl

java.lang.Object
  |
  +--net.sf.jportlet.impl.PortletApplicationImpl
All Implemented Interfaces:
PortletApplication

public class PortletApplicationImpl
extends java.lang.Object
implements PortletApplication

Implementation of PortletApplication

Author:
Herve Tchepannou

Field Summary
static java.lang.String PORTLET_DD
           
static java.lang.String SERVICE_DD
           
 
Fields inherited from interface net.sf.jportlet.portlet.application.PortletApplication
INFOS, MAJOR_VERSION, MINOR_VERSION
 
Constructor Summary
PortletApplicationImpl()
           
 
Method Summary
 void destroy()
           
 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 init(javax.servlet.ServletConfig servletConfig)
           
 void removeAttribute(java.lang.String name)
           
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_DD

public static final java.lang.String SERVICE_DD
See Also:
Constant Field Values

PORTLET_DD

public static final java.lang.String PORTLET_DD
See Also:
Constant Field Values
Constructor Detail

PortletApplicationImpl

public PortletApplicationImpl()
Method Detail

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws PortletException
PortletException

destroy

public void destroy()

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Specified by:
getAttribute in interface PortletApplication
See Also:
PortletApplication.getAttribute(java.lang.String)

getAttributeNames

public java.util.Enumeration getAttributeNames()
Specified by:
getAttributeNames in interface PortletApplication
See Also:
PortletApplication.getAttributeNames()

getInitParameter

public java.lang.String getInitParameter(java.lang.String name)
Specified by:
getInitParameter in interface PortletApplication
See Also:
PortletApplication.getInitParameter(java.lang.String)

getInitParameterNames

public java.util.Enumeration getInitParameterNames()
Specified by:
getInitParameterNames in interface PortletApplication
See Also:
PortletApplication.getInitParameterNames()

getPortlet

public net.sf.jportlet.portlet.Portlet getPortlet(java.lang.String name)
                                           throws PortletNotFoundException
Description copied from interface: PortletApplication
Returns a Portlet by its name

Specified by:
getPortlet in interface PortletApplication
Parameters:
name - name of the portlet
Returns:
Portlet
Throws:
PortletNotFoundException - if the portlet not found
See Also:
PortletApplication.getPortlet(java.lang.String)

getPortletNames

public java.util.Enumeration getPortletNames()
Specified by:
getPortletNames in interface PortletApplication
See Also:
PortletApplication.getPortletNames()

removeAttribute

public void removeAttribute(java.lang.String name)
Specified by:
removeAttribute in interface PortletApplication
See Also:
PortletApplication.removeAttribute(java.lang.String)

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
Specified by:
setAttribute in interface PortletApplication
See Also:
PortletApplication.setAttribute(java.lang.String, java.lang.Object)

getPortletServiceFactory

public net.sf.jportlet.service.PortletServiceFactory getPortletServiceFactory()
Specified by:
getPortletServiceFactory in interface PortletApplication
See Also:
PortletApplication.getPortletServiceFactory()


Copyright © 2002 Herve Tchepannou. All Rights Reserved.