Interface ResourceServiceHandler

All Known Implementing Classes:
ParentResourceServiceHandler, SimpleResourceServiceHandler

public interface ResourceServiceHandler
Handles service installation and removal for use by AddStepHandler and RemoveStepHandler.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    installServices(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)
    Installs runtime services for a resource, configured from the specified model.
    of(Iterable<? extends org.wildfly.subsystem.resource.operation.ResourceOperationRuntimeHandler> handlers)
    Temporary adapter to the wildfly-subsystem equivalent.
    of(org.wildfly.subsystem.resource.operation.ResourceOperationRuntimeHandler... handlers)
    Temporary adapter to the wildfly-subsystem equivalent.
    void
    removeServices(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)
    Removes runtime services for a resource.
  • Method Details

    • installServices

      void installServices(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
      Installs runtime services for a resource, configured from the specified model.
      Parameters:
      context - the context of the add/remove operation
      model - the resource model
      Throws:
      org.jboss.as.controller.OperationFailedException - if service installation fails
    • removeServices

      void removeServices(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
      Removes runtime services for a resource.
      Parameters:
      context - the context of the add/remove operation
      model - the resource model
      Throws:
      org.jboss.as.controller.OperationFailedException - if service installation fails
    • of

      static ResourceServiceHandler of(org.wildfly.subsystem.resource.operation.ResourceOperationRuntimeHandler... handlers)
      Temporary adapter to the wildfly-subsystem equivalent.
    • of

      static ResourceServiceHandler of(Iterable<? extends org.wildfly.subsystem.resource.operation.ResourceOperationRuntimeHandler> handlers)
      Temporary adapter to the wildfly-subsystem equivalent.