public class ProfileAddHandler extends AbstractAddStepHandler
Modifier and Type | Field and Description |
---|---|
static ProfileAddHandler |
INSTANCE |
attributes
Constructor and Description |
---|
ProfileAddHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
populateModel(org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model)
Populate the given node in the persistent configuration model based on the values in the given operation.
|
protected boolean |
requiresRuntime(OperationContext context)
|
createResource, execute, performRuntime, populateModel, populateModel, requiresRuntimeVerification, rollbackRuntime
public static final ProfileAddHandler INSTANCE
protected void populateModel(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)
AbstractAddStepHandler
populateModel
in class AbstractAddStepHandler
operation
- the operationmodel
- persistent configuration model node that corresponds to the address of operation
protected boolean requiresRuntime(OperationContext context)
AbstractAddStepHandler
AbstractAddStepHandler.performRuntime(OperationContext, org.jboss.dmr.ModelNode, org.jboss.dmr.ModelNode, ServiceVerificationHandler, java.util.List)
}
should be called. This default implementation always returns true
. Subclasses that perform no runtime
update could override and return false
.requiresRuntime
in class AbstractAddStepHandler
context
- operation contexttrue
if performRuntime
should be invoked; false
otherwise.Copyright © 2014 JBoss by Red Hat. All rights reserved.