Interface ResourceServiceHandler
-
- All Known Implementing Classes:
ParentResourceServiceHandler,SimpleResourceServiceHandler
public interface ResourceServiceHandlerHandles service installation and removal for use byAddStepHandlerandRemoveStepHandler.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinstallServices(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)Installs runtime services for a resource, configured from the specified model.voidremoveServices(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.OperationFailedExceptionInstalls runtime services for a resource, configured from the specified model.- Parameters:
context- the context of the add/remove operationmodel- 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.OperationFailedExceptionRemoves runtime services for a resource.- Parameters:
context- the context of the add/remove operationmodel- the resource model- Throws:
org.jboss.as.controller.OperationFailedException- if service installation fails
-
-