public abstract class ElectionPolicyBuilder extends ElectionPolicyServiceNameProvider implements ResourceServiceBuilder<SingletonElectionPolicy>, org.jboss.msc.value.Value<SingletonElectionPolicy>
Modifier | Constructor and Description |
---|---|
protected |
ElectionPolicyBuilder(org.jboss.as.controller.PathAddress policyAddress) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.service.ServiceBuilder<SingletonElectionPolicy> |
build(org.jboss.msc.service.ServiceTarget target)
Builds a service into the specified target.
|
Builder<SingletonElectionPolicy> |
configure(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode model)
Configures this builder using the specified expression resolver and model.
|
getServiceName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceName
protected ElectionPolicyBuilder(org.jboss.as.controller.PathAddress policyAddress)
public org.jboss.msc.service.ServiceBuilder<SingletonElectionPolicy> build(org.jboss.msc.service.ServiceTarget target)
Builder
build
in interface Builder<SingletonElectionPolicy>
target
- the service installation targetpublic 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>
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 © 2018 JBoss by Red Hat. All rights reserved.