public class SimpleElectionPolicyBuilder extends ElectionPolicyBuilder
Constructor and Description |
---|
SimpleElectionPolicyBuilder(org.jboss.as.controller.PathAddress policyAddress) |
Modifier and Type | Method and Description |
---|---|
Builder<SingletonElectionPolicy> |
configure(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode model)
Configures this builder using the specified expression resolver and model.
|
SingletonElectionPolicy |
getValue() |
build
getServiceName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceName
public SimpleElectionPolicyBuilder(org.jboss.as.controller.PathAddress policyAddress)
public SingletonElectionPolicy getValue()
public Builder<SingletonElectionPolicy> configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
ResourceServiceBuilder
configure
in interface ResourceServiceBuilder<SingletonElectionPolicy>
configure
in class ElectionPolicyBuilder
context
- an operation context, used to resolve capabilities and expressionsmodel
- the resource modelorg.jboss.as.controller.OperationFailedException
- if there was a failure reading the modelCopyright © 2017 JBoss by Red Hat. All rights reserved.