org.jboss.portal.cms
Class CMS
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.cms.CMS
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean
- Direct Known Subclasses:
- InvalidatableCMS
public class CMS
- extends org.jboss.system.ServiceMBeanSupport
Integration of a slide Domain into JBoss. It tries to compensate the non sense
of integration performed natively by slide.
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 |
CMS()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, stopService |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMS
public CMS()
getCMS
public static CMS getCMS()
- Do not use Slide transaction manager, who cares of this TM in an application server ????
getConfig
public org.w3c.dom.Element getConfig()
setConfig
public void setConfig(org.w3c.dom.Element config)
getNodeFactory
public NodeFactory getNodeFactory()
createService
public void createService()
throws java.lang.Exception
- Overrides:
createService
in class org.jboss.system.ServiceMBeanSupport
- Throws:
java.lang.Exception
startService
public void startService()
throws java.lang.Exception
- Overrides:
startService
in class org.jboss.system.ServiceMBeanSupport
- Throws:
java.lang.Exception
destroyService
public void destroyService()
throws java.lang.Exception
- Can we really destroy slide ? it seems to be indestructible
- Overrides:
destroyService
in class org.jboss.system.ServiceMBeanSupport
- Throws:
java.lang.Exception
getState
public int getState()
- Specified by:
getState
in interface org.jboss.system.ServiceMBean
- Overrides:
getState
in class org.jboss.system.ServiceMBeanSupport
getStateString
public java.lang.String getStateString()
- Specified by:
getStateString
in interface org.jboss.system.ServiceMBean
- Overrides:
getStateString
in class org.jboss.system.ServiceMBeanSupport
create
public void create()
throws java.lang.Exception
- Specified by:
create
in interface org.jboss.system.Service
- Overrides:
create
in class org.jboss.system.ServiceMBeanSupport
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface org.jboss.system.Service
- Overrides:
start
in class org.jboss.system.ServiceMBeanSupport
- Throws:
java.lang.Exception
stop
public void stop()
- Specified by:
stop
in interface org.jboss.system.Service
- Overrides:
stop
in class org.jboss.system.ServiceMBeanSupport
destroy
public void destroy()
- Specified by:
destroy
in interface org.jboss.system.Service
- Overrides:
destroy
in class org.jboss.system.ServiceMBeanSupport