Nuxeo Enterprise Platform 5.1

org.nuxeo.runtime.jboss.adapter
Class RuntimeAdapter

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.system.ListenerServiceMBeanSupport
              extended by org.nuxeo.runtime.jboss.adapter.RuntimeAdapter
All Implemented Interfaces:
EventListener, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, NotificationListener, org.jboss.system.ListenerServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean, RuntimeAdapterMBean

public class RuntimeAdapter
extends org.jboss.system.ListenerServiceMBeanSupport
implements RuntimeAdapterMBean

Adapts the runtime service to a MBean.

Author:
Bogdan Stefanescu

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.system.ListenerServiceMBeanSupport
org.jboss.system.ListenerServiceMBeanSupport.SubscriptionInfo
 
Field Summary
static String NAME
           
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ListenerServiceMBean
SL_FILTER_ELEMENT, SL_FILTER_FACTORY_ATTRIBUTE, SL_MBEAN_ELEMENT, SL_MBEAN_HANDBACK_ATTRIBUTE, SL_MBEAN_NAME_ATTRIBUTE, SL_NOTIFICATION_ELEMENT, SL_NOTIFICATION_TYPE_ATTRIBUTE, SL_ROOT_ELEMENT
 
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
RuntimeAdapter()
           
 
Method Summary
protected  void createService()
           
 String getDescription()
           
 String getHomeLocation()
           
 RuntimeService getRuntime()
           
 File getTempDeployDir()
           
 Version getVersion()
           
 String listExtensionPoints()
           
 String listPendingComponents()
           
 String listResolvedComponents()
           
 String listServices()
           
 
Methods inherited from class org.jboss.system.ListenerServiceMBeanSupport
handleNotification, handleNotification2, setSubscriptionList, subscribe, subscribe, subscribe, unsubscribe
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, 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
 
Methods inherited from interface org.nuxeo.runtime.jboss.adapter.RuntimeAdapterMBean
getName
 
Methods inherited from interface org.jboss.system.ListenerServiceMBean
setSubscriptionList
 
Methods inherited from interface org.jboss.system.ServiceMBean
getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

RuntimeAdapter

public RuntimeAdapter()
Method Detail

getRuntime

public RuntimeService getRuntime()
Specified by:
getRuntime in interface RuntimeAdapterMBean

getHomeLocation

public String getHomeLocation()
Specified by:
getHomeLocation in interface RuntimeAdapterMBean

listResolvedComponents

public String listResolvedComponents()
Specified by:
listResolvedComponents in interface RuntimeAdapterMBean

listPendingComponents

public String listPendingComponents()
Specified by:
listPendingComponents in interface RuntimeAdapterMBean

getDescription

public String getDescription()
Specified by:
getDescription in interface RuntimeAdapterMBean

getVersion

public Version getVersion()
Specified by:
getVersion in interface RuntimeAdapterMBean

listExtensionPoints

public String listExtensionPoints()
Specified by:
listExtensionPoints in interface RuntimeAdapterMBean

listServices

public String listServices()
Specified by:
listServices in interface RuntimeAdapterMBean

getTempDeployDir

public File getTempDeployDir()
Specified by:
getTempDeployDir in interface RuntimeAdapterMBean
Returns:
the tempDeployDir

createService

protected void createService()
                      throws Exception
Overrides:
createService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.