|
|||||||||
| 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.ServiceMBeangetState in class org.jboss.system.ServiceMBeanSupportpublic java.lang.String getStateString()
getStateString in interface org.jboss.system.ServiceMBeangetStateString in class org.jboss.system.ServiceMBeanSupport
public void create()
throws java.lang.Exception
create in interface org.jboss.system.Servicecreate in class org.jboss.system.ServiceMBeanSupportjava.lang.Exception
public void start()
throws java.lang.Exception
start in interface org.jboss.system.Servicestart in class org.jboss.system.ServiceMBeanSupportjava.lang.Exceptionpublic void stop()
stop in interface org.jboss.system.Servicestop in class org.jboss.system.ServiceMBeanSupportpublic void destroy()
destroy in interface org.jboss.system.Servicedestroy in class org.jboss.system.ServiceMBeanSupport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||