public void transition(final ServiceController<? extends Object> controller, final ServiceController.Transition transition) { if (transition.enters(ServiceController.State.REMOVED)) { tick(); } }
@Override public void transition(ServiceController<?> controller, ServiceController.Transition transition) { if (transition.enters(ServiceController.State.START_FAILED)) { StartException exception = controller.getStartException(); Throwable cause = exception.getCause(); testableArchiveService.setError(cause); } } });
@Override public void transition(ServiceController<?> controller, ServiceController.Transition transition) { if (transition.enters(ServiceController.State.START_FAILED)) { StartException exception = controller.getStartException(); Throwable cause = exception.getCause(); testableArchiveService.setError(cause); } } });
public void transition(final ServiceController<? extends Object> controller, final ServiceController.Transition transition) { if (transition.enters(ServiceController.State.REMOVED)) { tick(); } }