|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.server.util.Service
public class Service
Base service class
Field Summary |
---|
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 | |
---|---|
Service()
|
|
Service(java.lang.Class type)
|
|
Service(org.jboss.logging.Logger log)
|
|
Service(java.lang.String category)
|
Method Summary | |
---|---|
void |
create()
|
void |
destroy()
|
int |
getState()
|
java.lang.String |
getStateString()
|
void |
start()
|
void |
stop()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
---|
createService, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, startService, 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 |
Constructor Detail |
---|
public Service()
public Service(java.lang.Class type)
public Service(java.lang.String category)
public Service(org.jboss.logging.Logger log)
Method Detail |
---|
public int getState()
getState
in interface org.jboss.system.ServiceMBean
getState
in class org.jboss.system.ServiceMBeanSupport
public java.lang.String getStateString()
getStateString
in interface org.jboss.system.ServiceMBean
getStateString
in class org.jboss.system.ServiceMBeanSupport
public void create() throws java.lang.Exception
create
in interface org.jboss.system.Service
create
in class org.jboss.system.ServiceMBeanSupport
java.lang.Exception
public void start() throws java.lang.Exception
start
in interface org.jboss.system.Service
start
in class org.jboss.system.ServiceMBeanSupport
java.lang.Exception
public void stop()
stop
in interface org.jboss.system.Service
stop
in class org.jboss.system.ServiceMBeanSupport
public void destroy()
destroy
in interface org.jboss.system.Service
destroy
in class org.jboss.system.ServiceMBeanSupport
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |