Details
-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
Description
The lines are highlighted in https://github.com/jbossas/jboss-as/pull/1709/files
HandlerDisable and HandlerEnable do things like
public void execute(OperationContext context, ModelNode operation) {
if (context.isNormalServer()) {
context.addStep(new OperationStepHandler() {
if (controller != null) {
controller.addListener(new AbstractServiceListener<Object>() {
public void listenerAdded(ServiceController<?> serviceController)
@Override
public void transition(ServiceController<?> serviceController, ServiceController.Transition transition) {
if (transition == ServiceController.Transition.STOPPING_to_DOWN)
}
});
} else
}
}, OperationContext.Stage.RUNTIME);
}
context.completeStep();
}