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

PortletContainerRegistryImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet.management
Class PortletContainerRegistryImpl

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.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

Field Summary
private  PortletContainerManagementInterceptor interceptor
           
static java.lang.String JMX_PREFIX
           
private static org.jboss.logging.Logger log
           
private  java.util.List portletContainers
           
private  PortletApplicationRegistry registry
           
 
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
 
Constructor Summary
PortletContainerRegistryImpl()
           
 
Method Summary
 void create()
           
private  void createPortletContainerManagemenentMBean(PortletContainer portlet)
           
 void destroy()
           
private  void destroyPortletContainerManagemenentMBean(PortletContainer portlet)
           
private  java.lang.String getMBeanName(PortletContainer portlet)
           
 void registerPortletContainer(PortletContainer portlet)
           
 void setInterceptor(PortletContainerManagementInterceptor interceptor)
           
 void setRegistry(PortletApplicationRegistry registry)
           
 void start()
           
 void stop()
           
 void unregisterPortletContainer(PortletContainer portlet)
           
 
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
 

Field Detail

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
Constructor Detail

PortletContainerRegistryImpl

public PortletContainerRegistryImpl()
Method Detail

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)