Class PortletContainerLifeCycle
- java.lang.Object
-
- org.gatein.pc.portlet.impl.container.LifeCycle
-
- org.gatein.pc.portlet.impl.container.PortletContainerLifeCycle
-
- All Implemented Interfaces:
ManagedObject,ManagedPortletContainer
public class PortletContainerLifeCycle extends LifeCycle implements ManagedPortletContainer
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()org.gatein.pc.api.info.PortletInfogetInfo()protected ManagedObjectRegistryEventListenergetListener()PortletApplicationLifeCyclegetManagedPortletApplication()PortletContainergetPortletContainer()javax.portlet.PortletgetPortletInstance()protected voidinvokeCreate()protected voidinvokeDestroy()protected voidinvokeStart()protected voidinvokeStop()StringtoString()-
Methods inherited from class org.gatein.pc.portlet.impl.container.LifeCycle
demoteDependents, getFailure, getStatus, managedDestroy, managedStart, promoteDependents
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gatein.pc.portlet.container.managed.ManagedObject
getFailure, getStatus, managedDestroy, managedStart
-
-
-
-
Method Detail
-
invokeCreate
protected void invokeCreate() throws Exception- Specified by:
invokeCreatein classLifeCycle- Throws:
Exception
-
invokeStart
protected void invokeStart() throws Exception- Specified by:
invokeStartin classLifeCycle- Throws:
Exception
-
invokeStop
protected void invokeStop()
- Specified by:
invokeStopin classLifeCycle
-
getPortletInstance
public javax.portlet.Portlet getPortletInstance()
- Specified by:
getPortletInstancein interfaceManagedPortletContainer
-
invokeDestroy
protected void invokeDestroy() throws Exception- Specified by:
invokeDestroyin classLifeCycle- Throws:
Exception
-
getId
public String getId()
- Specified by:
getIdin interfaceManagedPortletContainer
-
getInfo
public org.gatein.pc.api.info.PortletInfo getInfo()
- Specified by:
getInfoin interfaceManagedPortletContainer
-
getManagedPortletApplication
public PortletApplicationLifeCycle getManagedPortletApplication()
- Specified by:
getManagedPortletApplicationin interfaceManagedPortletContainer
-
getPortletContainer
public PortletContainer getPortletContainer()
-
getListener
protected ManagedObjectRegistryEventListener getListener()
- Specified by:
getListenerin classLifeCycle
-
-