Interface ResourceServiceHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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.
      void removeServices​(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)
      Removes runtime services for a resource.
    • Method Detail

      • 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