public class PartitionAssignmentStrategyBuilder extends DefaultBuilderCustomization<PartitionAssignmentStrategy> implements ParameterizedBuilder<PartitionAssignmentStrategy>
ParameterizedBuilder.ReflectionSupport
Constructor and Description |
---|
PartitionAssignmentStrategyBuilder(ParameterizedBuilder<?> bldr,
XmlElement xmlElement)
Constructs
PartitionAssignmentStrategyBuilder |
PartitionAssignmentStrategyBuilder(String sStrategy,
XmlElement xmlElement)
Constructs a
PartitionAssignmentStrategyBuilder for a predefined strategy. |
Modifier and Type | Method and Description |
---|---|
PartitionAssignmentStrategy |
realize(com.tangosol.config.expression.ParameterResolver resolver,
ClassLoader loader,
ParameterList listParameters)
Realizes (creates if necessary) an instance of a object of type T, using the provided
ParameterResolver
to resolve values any referenced Parameter s. |
getCustomBuilder, setCustomBuilder
public PartitionAssignmentStrategyBuilder(ParameterizedBuilder<?> bldr, XmlElement xmlElement)
PartitionAssignmentStrategyBuilder
bldr
- customized PartitionAssignmentStrategy builderxmlElement
- optional configuration context to be used to provide details if
a ConfigurationException is detected.public PartitionAssignmentStrategyBuilder(String sStrategy, XmlElement xmlElement)
PartitionAssignmentStrategyBuilder
for a predefined strategy.sStrategy
- implementation defined partition assignment strategyxmlElement
- optional configuration context to be used to provide details if
a ConfigurationException is detected.public PartitionAssignmentStrategy realize(com.tangosol.config.expression.ParameterResolver resolver, ClassLoader loader, ParameterList listParameters)
ParameterResolver
to resolve values any referenced Parameter
s.realize
in interface ParameterizedBuilder<PartitionAssignmentStrategy>
resolver
- the ParameterResolver
for resolving named Parameter
sloader
- the ClassLoader
for loading any necessary classes and if null
the
ClassLoader
used to load the builder will be used insteadlistParameters
- an optional ParameterList
(may be null
) to be used for realizing the
instance, eg: used as constructor parameters