Exemplo n.º 1
0
  protected void recoverServices(OperationContext context, ModelNode operation, ModelNode model)
      throws OperationFailedException {
    // re-install the ProtocolStack services using the information in model
    ServiceVerificationHandler verificationHandler = new ServiceVerificationHandler();

    ProtocolStackAdd.INSTANCE.installRuntimeServices(
        context, operation, model, verificationHandler, null);
  }
Exemplo n.º 2
0
  protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model)
      throws OperationFailedException {

    ProtocolStackAdd.INSTANCE.removeRuntimeServices(context, operation, model);
  }