Package org.jboss.system
Interface Service
-
- All Known Subinterfaces:
ServiceMBean
- All Known Implementing Classes:
ServiceMBeanSupport
public interface ServiceThe Service interface.- Version:
- $Revision: 81032 $
- Author:
- Marc Fleury.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate()create the service, do expensive operations etcvoiddestroy()destroy the service, tear downvoidstart()start the service, create is already calledvoidstop()stop the service
-
-
-
Method Detail
-
create
void create() throws Exceptioncreate the service, do expensive operations etc- Throws:
Exception- for any error
-
start
void start() throws Exceptionstart the service, create is already called- Throws:
Exception- for any error
-
stop
void stop()
stop the service
-
destroy
void destroy()
destroy the service, tear down
-
-