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

JBossWebAppRegistryImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.server.impl.app
Class JBossWebAppRegistryImpl

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.server.impl.app.JBossWebAppRegistryImpl
All Implemented Interfaces:
JBossWebAppRegistry, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean, WebAppRegistry

public class JBossWebAppRegistryImpl
extends AbstractJBossService
implements JBossWebAppRegistry


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
JBossWebAppRegistryImpl()
           
 
Method Summary
 java.util.Collection getAllWebApp()
          Return an immutable list all the known web application in the registry.
 Component getComponent(java.lang.String id)
          Return a component using its id or null if it does not exist.
 WebApp getWebApp(java.lang.String id)
          Return a web app using its id or null if it does not exist.
 void registerWebApp(WebApp webApp)
          Register a web application.
 void unregisterWebApp(java.lang.String id)
          Unregister a web application using its id.
 
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

JBossWebAppRegistryImpl

public JBossWebAppRegistryImpl()
Method Detail

registerWebApp

public void registerWebApp(WebApp webApp)
Description copied from interface: WebAppRegistry
Register a web application.

Specified by:
registerWebApp in interface WebAppRegistry

unregisterWebApp

public void unregisterWebApp(java.lang.String id)
Description copied from interface: WebAppRegistry
Unregister a web application using its id.

Specified by:
unregisterWebApp in interface WebAppRegistry

getAllWebApp

public java.util.Collection getAllWebApp()
Description copied from interface: WebAppRegistry
Return an immutable list all the known web application in the registry.

Specified by:
getAllWebApp in interface WebAppRegistry

getWebApp

public WebApp getWebApp(java.lang.String id)
Description copied from interface: WebAppRegistry
Return a web app using its id or null if it does not exist.

Specified by:
getWebApp in interface WebAppRegistry

getComponent

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

Specified by:
getComponent in interface WebAppRegistry