站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PortletApplicationRegistryImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet.container
Class PortletApplicationRegistryImpl

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.portal.jems.as.system.AbstractJBossService
              extended byorg.jboss.portal.portlet.container.PortletApplicationRegistryImpl
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, PortletApplicationRegistry, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class PortletApplicationRegistryImpl
extends AbstractJBossService
implements PortletApplicationRegistry

Version:
$Revision: 5458 $
Author:
Julien Viet, Thomas Heute

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

portletApplications

private java.util.Map portletApplications

portlets

private java.util.Map portlets

listeners

private java.util.List listeners
Constructor Detail

PortletApplicationRegistryImpl

public PortletApplicationRegistryImpl()
Method Detail

registerPortletApplication

public void registerPortletApplication(PortletApplication portletApplication)
Description copied from interface: PortletApplicationRegistry
Register a portlet application.

Specified by:
registerPortletApplication in interface PortletApplicationRegistry

unregisterPortletApplication

public void unregisterPortletApplication(PortletApplication portletApplication)
Description copied from interface: PortletApplicationRegistry
Unregister a portlet application.

Specified by:
unregisterPortletApplication in interface PortletApplicationRegistry

registerPortlet

public void registerPortlet(PortletContainer portlet)
Description copied from interface: PortletApplicationRegistry
Register a portlet.

Specified by:
registerPortlet in interface PortletApplicationRegistry

unregisterPortlet

public void unregisterPortlet(PortletContainer portlet)
Description copied from interface: PortletApplicationRegistry
Unregister a portlet.

Specified by:
unregisterPortlet in interface PortletApplicationRegistry

getPortletApplications

public java.util.Collection getPortletApplications()
Description copied from interface: PortletApplicationRegistry
Return an immutable list all the known portlet application in the registry.

Specified by:
getPortletApplications in interface PortletApplicationRegistry

getPortletApplication

public PortletApplication getPortletApplication(java.lang.String id)
Description copied from interface: PortletApplicationRegistry
Return a portlet app using its id or null if it does not exist.

Specified by:
getPortletApplication in interface PortletApplicationRegistry

getPortletContainer

public PortletContainer getPortletContainer(java.lang.String id)
Description copied from interface: PortletApplicationRegistry
Return a component using its id or null if it does not exist.

Specified by:
getPortletContainer in interface PortletApplicationRegistry

getPortletContainers

public java.util.Collection getPortletContainers()
Description copied from interface: PortletApplicationRegistry
Return an immutable list all the known portlet container in the registry.

Specified by:
getPortletContainers in interface PortletApplicationRegistry

addListener

public void addListener(PortletContainerRegistryListener listener)
Specified by:
addListener in interface PortletApplicationRegistry

removeListener

public void removeListener(PortletContainerRegistryListener listener)
Specified by:
removeListener in interface PortletApplicationRegistry

raiseRegisterPortletContainerEvent

private void raiseRegisterPortletContainerEvent(PortletContainer portlet)

raiseUnregisterPortletContainerEvent

private void raiseUnregisterPortletContainerEvent(PortletContainer portlet)