|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.portal.jems.as.system.AbstractJBossService org.jboss.portal.portlet.container.PortletApplicationRegistryImpl
Field Summary | |
private java.util.List |
listeners
|
private java.util.Map |
portletApplications
|
private java.util.Map |
portlets
|
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
PortletApplicationRegistryImpl()
|
Method Summary | |
void |
addListener(PortletContainerRegistryListener listener)
|
PortletApplication |
getPortletApplication(java.lang.String id)
Return a portlet app using its id or null if it does not exist. |
java.util.Collection |
getPortletApplications()
Return an immutable list all the known portlet application in the registry. |
PortletContainer |
getPortletContainer(java.lang.String id)
Return a component using its id or null if it does not exist. |
java.util.Collection |
getPortletContainers()
Return an immutable list all the known portlet container in the registry. |
private void |
raiseRegisterPortletContainerEvent(PortletContainer portlet)
|
private void |
raiseUnregisterPortletContainerEvent(PortletContainer portlet)
|
void |
registerPortlet(PortletContainer portlet)
Register a portlet. |
void |
registerPortletApplication(PortletApplication portletApplication)
Register a portlet application. |
void |
removeListener(PortletContainerRegistryListener listener)
|
void |
unregisterPortlet(PortletContainer portlet)
Unregister a portlet. |
void |
unregisterPortletApplication(PortletApplication portletApplication)
Unregister a portlet application. |
Methods inherited from class org.jboss.portal.jems.as.system.AbstractJBossService |
create, destroy, getState, getStateString, start, stop |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, startService, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Map portletApplications
private java.util.Map portlets
private java.util.List listeners
Constructor Detail |
public PortletApplicationRegistryImpl()
Method Detail |
public void registerPortletApplication(PortletApplication portletApplication)
PortletApplicationRegistry
registerPortletApplication
in interface PortletApplicationRegistry
public void unregisterPortletApplication(PortletApplication portletApplication)
PortletApplicationRegistry
unregisterPortletApplication
in interface PortletApplicationRegistry
public void registerPortlet(PortletContainer portlet)
PortletApplicationRegistry
registerPortlet
in interface PortletApplicationRegistry
public void unregisterPortlet(PortletContainer portlet)
PortletApplicationRegistry
unregisterPortlet
in interface PortletApplicationRegistry
public java.util.Collection getPortletApplications()
PortletApplicationRegistry
getPortletApplications
in interface PortletApplicationRegistry
public PortletApplication getPortletApplication(java.lang.String id)
PortletApplicationRegistry
getPortletApplication
in interface PortletApplicationRegistry
public PortletContainer getPortletContainer(java.lang.String id)
PortletApplicationRegistry
getPortletContainer
in interface PortletApplicationRegistry
public java.util.Collection getPortletContainers()
PortletApplicationRegistry
getPortletContainers
in interface PortletApplicationRegistry
public void addListener(PortletContainerRegistryListener listener)
addListener
in interface PortletApplicationRegistry
public void removeListener(PortletContainerRegistryListener listener)
removeListener
in interface PortletApplicationRegistry
private void raiseRegisterPortletContainerEvent(PortletContainer portlet)
private void raiseUnregisterPortletContainerEvent(PortletContainer portlet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |