当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
PortletContainerRegistryImpl - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.portlet.management
Class PortletContainerRegistryImpl
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.portlet.management.PortletContainerRegistryImpl
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, PortletContainerRegistry, PortletContainerRegistryListener, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class PortletContainerRegistryImpl
- extends org.jboss.system.ServiceMBeanSupport
- implements PortletContainerRegistry, PortletContainerRegistryListener
- Version:
- $Revision$
- Author:
- Thomas Heute
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
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 |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, 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 |
log
private static final org.jboss.logging.Logger log
JMX_PREFIX
public static final java.lang.String JMX_PREFIX
- See Also:
- Constant Field Values
registry
private PortletApplicationRegistry registry
interceptor
private PortletContainerManagementInterceptor interceptor
portletContainers
private java.util.List portletContainers
PortletContainerRegistryImpl
public PortletContainerRegistryImpl()
create
public void create()
- Specified by:
create
in interface org.jboss.system.Service
destroy
public void destroy()
- Specified by:
destroy
in interface org.jboss.system.Service
start
public void start()
- Specified by:
start
in interface org.jboss.system.Service
stop
public void stop()
- Specified by:
stop
in interface org.jboss.system.Service
registerPortletContainer
public void registerPortletContainer(PortletContainer portlet)
- Specified by:
registerPortletContainer
in interface PortletContainerRegistryListener
unregisterPortletContainer
public void unregisterPortletContainer(PortletContainer portlet)
- Specified by:
unregisterPortletContainer
in interface PortletContainerRegistryListener
setRegistry
public void setRegistry(PortletApplicationRegistry registry)
setInterceptor
public void setInterceptor(PortletContainerManagementInterceptor interceptor)
createPortletContainerManagemenentMBean
private void createPortletContainerManagemenentMBean(PortletContainer portlet)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroyPortletContainerManagemenentMBean
private void destroyPortletContainerManagemenentMBean(PortletContainer portlet)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMBeanName
private java.lang.String getMBeanName(PortletContainer portlet)