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

TransientPortalObjectContainer - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.impl.model.portal
Class TransientPortalObjectContainer

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.core.impl.model.portal.AbstractPortalObjectContainer
                  extended byorg.jboss.portal.core.impl.model.portal.TransientPortalObjectContainer
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, PortalObjectContainer, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class TransientPortalObjectContainer
extends AbstractPortalObjectContainer


Field Summary
protected  ContainerContext ctx
           
protected  PortalEventListenerRegistry portalEventListenerRegistry
           
protected  ObjectNode root
           
 
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
TransientPortalObjectContainer()
           
 
Method Summary
 void addListener(PortalObjectEventListener listener)
          Add a listener.
protected  void createService()
           
 Context getContext()
          Return the root context of this container.
 JBossPortalNode getNode(java.lang.String id)
          Return the api node.
 PortalObject getObject(java.lang.String id)
          Return a container object.
 void removeListener(PortalObjectEventListener evt)
          Remove a listener
 void startService()
           
 
Methods inherited from class org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer
getPortalEventListenerRegistry, setPortalEventListenerRegistry
 
Methods inherited from class org.jboss.portal.common.system.AbstractJBossService
create, destroy, getState, getStateString, start, stop
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, 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

portalEventListenerRegistry

protected PortalEventListenerRegistry portalEventListenerRegistry

root

protected ObjectNode root

ctx

protected ContainerContext ctx
Constructor Detail

TransientPortalObjectContainer

public TransientPortalObjectContainer()
Method Detail

createService

protected void createService()
                      throws java.lang.Exception
Throws:
java.lang.Exception

startService

public void startService()
                  throws java.lang.Exception
Throws:
java.lang.Exception

getObject

public PortalObject getObject(java.lang.String id)
Description copied from interface: PortalObjectContainer
Return a container object.


getContext

public Context getContext()
Description copied from interface: PortalObjectContainer
Return the root context of this container.


addListener

public void addListener(PortalObjectEventListener listener)
Description copied from interface: PortalObjectContainer
Add a listener.


removeListener

public void removeListener(PortalObjectEventListener evt)
Description copied from interface: PortalObjectContainer
Remove a listener


getNode

public JBossPortalNode getNode(java.lang.String id)
Description copied from interface: PortalObjectContainer
Return the api node.