Class SimpleResourceServiceHandler

    • Method Detail

      • 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