Class ResourceOperationRuntimeHandler.ResourceServiceConfiguratorRuntimeHandler
- java.lang.Object
-
- org.wildfly.subsystem.resource.operation.ResourceOperationRuntimeHandler.ResourceServiceConfiguratorRuntimeHandler
-
- All Implemented Interfaces:
ResourceOperationRuntimeHandler
- Enclosing interface:
- ResourceOperationRuntimeHandler
public static class ResourceOperationRuntimeHandler.ResourceServiceConfiguratorRuntimeHandler extends Object implements ResourceOperationRuntimeHandler
Performs installation of a single service, configured via aResourceServiceConfigurator.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.wildfly.subsystem.resource.operation.ResourceOperationRuntimeHandler
ResourceOperationRuntimeHandler.ResourceServiceConfiguratorRuntimeHandler, ResourceOperationRuntimeHandler.RestartAncestorResourceServiceConfiguratorRuntimeHandler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)Adds runtime behavior for a resource with the specified model.org.jboss.dmr.ModelNodereadModel(org.jboss.as.controller.registry.Resource resource)Returns the model of the specified resource.voidremoveRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)Removes runtime behavior for a resource with the specified model.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.subsystem.resource.operation.ResourceOperationRuntimeHandler
addRuntime, removeRuntime
-
-
-
-
Method Detail
-
addRuntime
public void addRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedExceptionDescription copied from interface:ResourceOperationRuntimeHandlerAdds runtime behavior for a resource with the specified model.- Specified by:
addRuntimein interfaceResourceOperationRuntimeHandler- Parameters:
context- the context of the operationmodel- the resource model- Throws:
org.jboss.as.controller.OperationFailedException- if the operation should fail
-
removeRuntime
public void removeRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedExceptionDescription copied from interface:ResourceOperationRuntimeHandlerRemoves runtime behavior for a resource with the specified model.- Specified by:
removeRuntimein interfaceResourceOperationRuntimeHandler- Parameters:
context- the context of the operationmodel- the resource model- Throws:
org.jboss.as.controller.OperationFailedException- if the operation should fail
-
readModel
public org.jboss.dmr.ModelNode readModel(org.jboss.as.controller.registry.Resource resource)
Description copied from interface:ResourceOperationRuntimeHandlerReturns the model of the specified resource. This can be overridden to provide a recursively read model.- Specified by:
readModelin interfaceResourceOperationRuntimeHandler- Parameters:
resource- the resource associated with the current operation- Returns:
- the resource model
-
-