org.jboss.portal.portlet.impl.container
Class PortletApplicationLifeCycle
java.lang.Object
org.jboss.portal.portlet.impl.container.LifeCycle
org.jboss.portal.portlet.impl.container.PortletApplicationLifeCycle
- All Implemented Interfaces:
- ManagedObject, ManagedPortletApplication
public class PortletApplicationLifeCycle
- extends LifeCycle
- implements ManagedPortletApplication
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PortletApplicationLifeCycle
public PortletApplicationLifeCycle(ManagedObjectRegistryEventListener listener,
PortletApplicationContext portletApplicationContext,
PortletApplicationObject portletApplication)
PortletApplicationLifeCycle
public PortletApplicationLifeCycle(PortletApplicationContext portletApplicationContext,
PortletApplicationObject portletApplication)
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 java.util.Set<PortletFilterLifeCycle> getDependencies(PortletContainerLifeCycle portletContainerLifeCycle)
getDependencies
public java.util.Set<PortletContainerLifeCycle> getDependencies(PortletFilterLifeCycle portletFilterLifeCycle)
invokeStart
protected void invokeStart()
throws java.lang.Exception
- Specified by:
invokeStart in class LifeCycle
- Throws:
java.lang.Exception
startDependents
protected void startDependents()
- Overrides:
startDependents in class LifeCycle
stopDependents
protected void stopDependents()
- Overrides:
stopDependents in class LifeCycle
invokeStop
protected void invokeStop()
- Specified by:
invokeStop in class LifeCycle
getId
public java.lang.String getId()
- Specified by:
getId in interface ManagedPortletApplication
getManagedPortletContainers
public java.util.Collection<? extends PortletContainerLifeCycle> getManagedPortletContainers()
- Specified by:
getManagedPortletContainers in interface ManagedPortletApplication
getManagedPortletContainer
public PortletContainerLifeCycle getManagedPortletContainer(java.lang.String portletContainerId)
- Specified by:
getManagedPortletContainer in interface ManagedPortletApplication
getManagedPortletFilters
public java.util.Collection<? extends PortletFilterLifeCycle> getManagedPortletFilters()
- Specified by:
getManagedPortletFilters in interface ManagedPortletApplication
getManagedPortletFilter
public PortletFilterLifeCycle getManagedPortletFilter(java.lang.String portletFilterId)
- Specified by:
getManagedPortletFilter in interface ManagedPortletApplication
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getPortletApplication
public PortletApplication getPortletApplication()
getListener
protected ManagedObjectRegistryEventListener getListener()
- Specified by:
getListener in class LifeCycle
Copyright © 2008. All Rights Reserved.