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

PortletApplicationRegistryImpl - JBOSS Portal 2.4 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.common.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


Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
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
 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.
 void registerPortlet(PortletContainer portlet)
          Register a portlet.
 void registerPortletApplication(PortletApplication portletApplication)
          Register a portlet application.
 void unregisterPortlet(PortletContainer portlet)
          Unregister a portlet.
 void unregisterPortletApplication(PortletApplication portletApplication)
          Unregister a portlet application.
 
Methods inherited from class org.jboss.portal.common.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
 

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