Class AddIfAbsentStepHandler
java.lang.Object
org.jboss.as.clustering.controller.AddIfAbsentStepHandler
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
public class AddIfAbsentStepHandler
extends Object
implements org.jboss.as.controller.OperationStepHandler
Adds a given child resource if absent.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionAddIfAbsentStepHandler(BiPredicate<org.jboss.as.controller.registry.Resource, org.jboss.as.controller.PathElement> present) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)
-
Constructor Details
-
AddIfAbsentStepHandler
public AddIfAbsentStepHandler(BiPredicate<org.jboss.as.controller.registry.Resource, org.jboss.as.controller.PathElement> present)
-
-
Method Details
-
execute
public void execute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException - Specified by:
executein interfaceorg.jboss.as.controller.OperationStepHandler- Throws:
org.jboss.as.controller.OperationFailedException
-