org.apache.camel.support
Class ChildServiceSupport
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.support.ChildServiceSupport
- All Implemented Interfaces:
- Service, ShutdownableService, StatefulService, SuspendableService
- Direct Known Subclasses:
- ErrorHandlerSupport, RouteService
public abstract class ChildServiceSupport
- extends ServiceSupport
Methods inherited from class org.apache.camel.support.ServiceSupport |
doResume, doShutdown, doStart, doStop, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, suspend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChildServiceSupport
public ChildServiceSupport()
start
public void start()
throws Exception
- Description copied from interface:
Service
- Starts the service
- Specified by:
start
in interface Service
- Overrides:
start
in class ServiceSupport
- Throws:
Exception
- is thrown if starting failed
start
public void start(boolean startChildren)
throws Exception
- Throws:
Exception
stop
public void stop()
throws Exception
- Description copied from interface:
Service
- Stops the service
- Specified by:
stop
in interface Service
- Overrides:
stop
in class ServiceSupport
- Throws:
Exception
- is thrown if stopping failed
shutdown
public void shutdown()
throws Exception
- Description copied from interface:
ShutdownableService
- Shutdown the service, which means it cannot be started again.
- Specified by:
shutdown
in interface ShutdownableService
- Overrides:
shutdown
in class ServiceSupport
- Throws:
Exception
- thrown if shutting down failed
addChildService
protected void addChildService(Object childService)
removeChildService
protected boolean removeChildService(Object childService)
Apache CAMEL