Package org.wildfly.clustering.service
Class ChildTargetService
- java.lang.Object
-
- org.wildfly.clustering.service.ChildTargetService
-
-
Constructor Summary
Constructors Constructor Description ChildTargetService(Consumer<ServiceTarget> installer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(StartContext context)Start the service.voidstop(StopContext context)Stop the service.
-
-
-
Constructor Detail
-
ChildTargetService
public ChildTargetService(Consumer<ServiceTarget> installer)
-
-
Method Detail
-
start
public void start(StartContext context)
Description copied from interface:ServiceStart the service. Do not return until the service has been fully started, unless an asynchronous service start is performed. All injections will be complete before this method is called.If the service start involves any activities that may block, the asynchronous mechanism provided by the
contextshould be used. See theclass javadocfor details.
-
stop
public void stop(StopContext context)
Description copied from interface:ServiceStop the service. Do not return until the service has been fully stopped, unless an asynchronous service stop is performed. All injections will remain intact until the service is fully stopped. This method should not throw an exception.If the service start involves any activities that may block, the asynchronous mechanism provided by the
contextshould be used. See theclass javadocfor details.
-
-