/** * Stops the service. Unregisters service activity and clears transaction listener. * @param context stop context */ public void stop(StopContext context) { final SuspendController suspendController = suspendControllerInjectedValue.getValue(); suspendController.unRegisterActivity(this); final LocalTransactionContext localTransactionContext = localTransactionContextInjectedValue.getValue(); localTransactionContext.removeCreationListener(this); }