public abstract class ChildServiceSupport extends ServiceSupport
Services.shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
ChildServiceSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChildService(Object childService) |
protected boolean |
removeChildService(Object childService) |
void |
shutdown()
Shutdown the service, which means it cannot be started again.
|
void |
start()
Starts the service
|
void |
start(boolean startChildren) |
void |
stop()
Stops the service
|
doResume, doShutdown, doStart, doStop, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, suspendpublic void start()
throws Exception
Servicestart in interface Servicestart in class ServiceSupportException - is thrown if starting failedpublic void stop()
throws Exception
Servicestop in interface Servicestop in class ServiceSupportException - is thrown if stopping failedpublic void shutdown()
throws Exception
ShutdownableServiceshutdown in interface ShutdownableServiceshutdown in class ServiceSupportException - thrown if shutting down failedprotected void addChildService(Object childService)
protected boolean removeChildService(Object childService)
Apache Camel