public class HiLoKeyGeneratorAdd extends AbstractKeyGeneratorAdd
Modifier and Type | Method and Description |
---|---|
protected void |
addDependencies(org.jboss.dmr.ModelNode operation,
org.jboss.msc.service.Service<KeyGeneratorFactory> keyGeneratorFactory,
org.jboss.msc.service.ServiceBuilder<KeyGeneratorFactory> factoryServiceBuilder) |
protected org.jboss.msc.service.Service<KeyGeneratorFactory> |
getKeyGeneratorFactory(org.jboss.dmr.ModelNode operation) |
org.jboss.dmr.ModelNode |
getModelDescription(Locale locale)
Gets the descriptive information (human-friendly description, list of attributes,
list of children) describing a single model node or operation.
|
protected org.jboss.msc.service.ServiceName |
getServiceName(String name) |
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.
|
performRuntime
execute, populateModel, populateModel, requiresRuntime, requiresRuntimeVerification, rollbackRuntime
protected org.jboss.msc.service.Service<KeyGeneratorFactory> getKeyGeneratorFactory(org.jboss.dmr.ModelNode operation)
getKeyGeneratorFactory
in class AbstractKeyGeneratorAdd
protected org.jboss.msc.service.ServiceName getServiceName(String name)
getServiceName
in class AbstractKeyGeneratorAdd
protected void addDependencies(org.jboss.dmr.ModelNode operation, org.jboss.msc.service.Service<KeyGeneratorFactory> keyGeneratorFactory, org.jboss.msc.service.ServiceBuilder<KeyGeneratorFactory> factoryServiceBuilder)
addDependencies
in class AbstractKeyGeneratorAdd
protected void populateModel(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws OperationFailedException
AbstractAddStepHandler
populateModel
in class AbstractAddStepHandler
operation
- the operationmodel
- persistent configuration model node that corresponds to the address of operation
OperationFailedException
- if operation
is invalid or populating the model otherwise failspublic org.jboss.dmr.ModelNode getModelDescription(Locale locale)
DescriptionProvider
The implementation must assume that the caller intends to modify the
returned ModelNode
so it should not hand out a reference to any internal data structures.
locale
- the locale to use to generate any localized text used in the description.
May be null
, in which case Locale.getDefault()
should be usedModelNode
describing the model node's structureCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.