Class ResourceOperationRuntimeHandler.ResourceServiceConfiguratorRuntimeHandler

java.lang.Object
org.wildfly.subsystem.resource.operation.ResourceOperationRuntimeHandler.ResourceServiceConfiguratorRuntimeHandler
All Implemented Interfaces:
ResourceOperationRuntimeHandler
Enclosing interface:
ResourceOperationRuntimeHandler

public static class ResourceOperationRuntimeHandler.ResourceServiceConfiguratorRuntimeHandler extends Object implements ResourceOperationRuntimeHandler
Performs installation of a single service, configured via a ResourceServiceConfigurator.
  • Method Details

    • addRuntime

      public void addRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
      Description copied from interface: ResourceOperationRuntimeHandler
      Adds runtime behavior for a resource with the specified model.
      Specified by:
      addRuntime in interface ResourceOperationRuntimeHandler
      Parameters:
      context - the context of the operation
      model - the resource model
      Throws:
      org.jboss.as.controller.OperationFailedException - if the operation should fail
    • removeRuntime

      public void removeRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
      Description copied from interface: ResourceOperationRuntimeHandler
      Removes runtime behavior for a resource with the specified model.
      Specified by:
      removeRuntime in interface ResourceOperationRuntimeHandler
      Parameters:
      context - the context of the operation
      model - the resource model
      Throws:
      org.jboss.as.controller.OperationFailedException - if the operation should fail
    • readModel

      public org.jboss.dmr.ModelNode readModel(org.jboss.as.controller.registry.Resource resource)
      Description copied from interface: ResourceOperationRuntimeHandler
      Returns the model of the specified resource. This can be overridden to provide a recursively read model.
      Specified by:
      readModel in interface ResourceOperationRuntimeHandler
      Parameters:
      resource - the resource associated with the current operation
      Returns:
      the resource model