Package io.joynr.jeeintegration
Class JoynrShutdownServiceBean
- java.lang.Object
-
- io.joynr.jeeintegration.JoynrShutdownServiceBean
-
- All Implemented Interfaces:
JoynrShutdownService
public class JoynrShutdownServiceBean extends Object implements JoynrShutdownService
-
-
Constructor Summary
Constructors Constructor Description JoynrShutdownServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprepareForShutdown()Call this method to cause the joynr runtime to prepare for shutdown and perform initial clean-up.voidshutdown()This call will completely shut down the joynr runtime and free up any and all resources it holds.
-
-
-
Method Detail
-
prepareForShutdown
public void prepareForShutdown()
Description copied from interface:JoynrShutdownServiceCall this method to cause the joynr runtime to prepare for shutdown and perform initial clean-up. This method blocks until completion or it times out. After calling this method you can only make requests via joynr which to not require state to be held (e.g. stateless async or fire-and-forget).- Specified by:
prepareForShutdownin interfaceJoynrShutdownService
-
shutdown
public void shutdown()
Description copied from interface:JoynrShutdownServiceThis call will completely shut down the joynr runtime and free up any and all resources it holds. You cannot perform any further joynr operations after this method has been called.- Specified by:
shutdownin interfaceJoynrShutdownService
-
-