Class PortletApplicationLifeCycle
java.lang.Object
org.gatein.pc.portlet.impl.container.LifeCycle
org.gatein.pc.portlet.impl.container.PortletApplicationLifeCycle
- All Implemented Interfaces:
ManagedObject,ManagedPortletApplication
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
Constructor Summary
ConstructorsConstructorDescriptionPortletApplicationLifeCycle(ManagedObjectRegistryEventListener listener, PortletApplicationContext portletApplicationContext, PortletApplicationObject portletApplication) PortletApplicationLifeCycle(PortletApplicationContext portletApplicationContext, PortletApplicationObject portletApplication) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDependency(PortletFilterLifeCycle portletFilterLifeCycle, PortletContainerLifeCycle portletContainerLifeCycle) addPortletContainer(PortletContainerContext portletContainerContext, PortletContainerObject portletContainer) addPortletFilter(PortletFilterContext portletFilterContext, PortletFilterObject portletFilter) voidcreate()protected voidvoiddestroy()Iterable<? extends ManagedObject> getDependencies(PortletContainerLifeCycle portletContainerLifeCycle) getDependencies(PortletFilterLifeCycle portletFilterLifeCycle) getId()protected ManagedObjectRegistryEventListenergetManagedPortletContainer(String portletContainerId) Iterable<? extends PortletContainerLifeCycle> getManagedPortletFilter(String portletFilterId) Iterable<? extends PortletFilterLifeCycle> protected voidprotected voidprotected voidprotected voidprotected voidtoString()Methods inherited from class org.gatein.pc.portlet.impl.container.LifeCycle
getFailure, getStatus, managedDestroy, managedStartMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gatein.pc.portlet.container.managed.ManagedObject
getFailure, getStatus, managedDestroy, managedStart
-
Constructor Details
-
PortletApplicationLifeCycle
public PortletApplicationLifeCycle(ManagedObjectRegistryEventListener listener, PortletApplicationContext portletApplicationContext, PortletApplicationObject portletApplication) -
PortletApplicationLifeCycle
public PortletApplicationLifeCycle(PortletApplicationContext portletApplicationContext, PortletApplicationObject portletApplication)
-
-
Method Details
-
create
public void create() -
destroy
public void destroy() -
addPortletContainer
public PortletContainerLifeCycle addPortletContainer(PortletContainerContext portletContainerContext, PortletContainerObject portletContainer) -
addPortletFilter
public PortletFilterLifeCycle addPortletFilter(PortletFilterContext portletFilterContext, PortletFilterObject portletFilter) -
addDependency
public void addDependency(PortletFilterLifeCycle portletFilterLifeCycle, PortletContainerLifeCycle portletContainerLifeCycle) -
getDependencies
public Set<PortletFilterLifeCycle> getDependencies(PortletContainerLifeCycle portletContainerLifeCycle) -
getDependencies
public Set<PortletContainerLifeCycle> getDependencies(PortletFilterLifeCycle portletFilterLifeCycle) -
invokeCreate
- Specified by:
invokeCreatein classLifeCycle- Throws:
Exception
-
invokeStart
- Specified by:
invokeStartin classLifeCycle- Throws:
Exception
-
promoteDependents
- Overrides:
promoteDependentsin classLifeCycle
-
demoteDependents
- Overrides:
demoteDependentsin classLifeCycle
-
invokeStop
protected void invokeStop()- Specified by:
invokeStopin classLifeCycle
-
invokeDestroy
- Specified by:
invokeDestroyin classLifeCycle- Throws:
Exception
-
getId
- Specified by:
getIdin interfaceManagedPortletApplication
-
getDependencies
- Specified by:
getDependenciesin interfaceManagedPortletApplication
-
getManagedPortletContainers
- Specified by:
getManagedPortletContainersin interfaceManagedPortletApplication
-
getManagedPortletContainer
- Specified by:
getManagedPortletContainerin interfaceManagedPortletApplication
-
getManagedPortletFilters
- Specified by:
getManagedPortletFiltersin interfaceManagedPortletApplication
-
getManagedPortletFilter
- Specified by:
getManagedPortletFilterin interfaceManagedPortletApplication
-
toString
-
getPortletApplication
- Specified by:
getPortletApplicationin interfaceManagedPortletApplication
-
getListener
- Specified by:
getListenerin classLifeCycle
-