Class SimpleResourceServiceHandler

java.lang.Object
org.jboss.as.clustering.controller.SimpleResourceServiceHandler
All Implemented Interfaces:
ResourceServiceHandler
Direct Known Subclasses:
ParentResourceServiceHandler

public class SimpleResourceServiceHandler extends Object implements ResourceServiceHandler
Simple ResourceServiceHandler that installs/removes a single service via a ResourceServiceConfiguratorFactory.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • installServices

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

      public void removeServices(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
      Description copied from interface: ResourceServiceHandler
      Removes runtime services for a resource.
      Specified by:
      removeServices in interface ResourceServiceHandler
      Parameters:
      context - the context of the add/remove operation
      model - the resource model
      Throws:
      org.jboss.as.controller.OperationFailedException - if service installation fails