public class CoherenceAddressProviderBinding extends Object implements oracle.fmwplatform.envspec.common.ContainerAware<CoherenceModuleBinding>, oracle.fmwplatform.envspec.common.ParentContainerWithVariables, oracle.fmwplatform.util.validation.ValidationParticipant
| Modifier and Type | Field and Description |
|---|---|
static String |
COHERENCE_ADDRESS_PROVIDER_TOKEN
The alias token used to substitute the address provider name in the alias' WLST path.
|
| Constructor and Description |
|---|
CoherenceAddressProviderBinding() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSocketAddressBinding(CoherenceSocketAddressBinding binding)
Add the new socket address binding if one with the same name is not already present.
|
String |
getCoherenceAddressProviderRef()
Get the CoherenceAddressProvider reference for this binding.
|
Map<String,String> |
getEffectiveVariables()
Returns the variables from the tuning parameters of this binding, as well as from its containing domain.
|
String |
getName()
Get the name of the address provider.
|
CoherenceModuleBinding |
getParent()
Returns the object that contains this entity
|
String |
getResourceRef()
Get the resource reference for this binding.
|
CoherenceSocketAddressBinding |
getSocketAddressBinding(String bindingName)
Get the specified socket address binding.
|
CoherenceSocketAddressBinding |
getSocketAddressBindingByResourceReference(String refName)
Get the specified socket address binding by its resource reference.
|
List<CoherenceSocketAddressBinding> |
getSocketAddressBindings()
Get the list of socket address bindings.
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
CoherenceAddressProviderBinding |
setCoherenceAddressProviderRef(String coherenceAddressProviderRef)
Set the CoherenceAddressProvider reference for this binding.
|
CoherenceAddressProviderBinding |
setName(String name)
Set the name of the address provider.
|
CoherenceAddressProviderBinding |
setParent(CoherenceModuleBinding containerCoherenceModuleBinding)
Sets the container object that contains this.
|
String |
substitute(String text)
Replaces substitution keys in the specified text with their corresponding values.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
void |
validate(oracle.fmwplatform.util.validation.Validate validate) |
public static final String COHERENCE_ADDRESS_PROVIDER_TOKEN
public String getResourceRef()
public String getCoherenceAddressProviderRef()
public CoherenceAddressProviderBinding setCoherenceAddressProviderRef(String coherenceAddressProviderRef)
coherenceAddressProviderRef - the new CoherenceAddressProvider referencepublic String getName()
public CoherenceAddressProviderBinding setName(String name)
name - the new address provider namepublic boolean addSocketAddressBinding(CoherenceSocketAddressBinding binding)
binding - the new binding to addpublic CoherenceSocketAddressBinding getSocketAddressBinding(String bindingName)
bindingName - the name of the socket address binding to getpublic CoherenceSocketAddressBinding getSocketAddressBindingByResourceReference(String refName)
refName - the value of the Coherence socket address reference to usepublic List<CoherenceSocketAddressBinding> getSocketAddressBindings()
public void validate(oracle.fmwplatform.util.validation.Validate validate)
validate in interface oracle.fmwplatform.util.validation.ValidationParticipantpublic CoherenceModuleBinding getParent()
getParent in interface oracle.fmwplatform.envspec.common.ContainerAware<CoherenceModuleBinding>public CoherenceAddressProviderBinding setParent(CoherenceModuleBinding containerCoherenceModuleBinding)
setParent in interface oracle.fmwplatform.envspec.common.ContainerAware<CoherenceModuleBinding>containerCoherenceModuleBinding - the parent containerpublic String getVariableValue(String key)
getVariableValue in interface oracle.fmwplatform.envspec.common.Substitutablekey - the key of the variable to be checkedpublic String substitute(String text)
substitute in interface oracle.fmwplatform.envspec.common.Substitutabletext - the original textpublic Map<String,String> getEffectiveVariables() throws FMWEnvSpecException
getEffectiveVariables in interface oracle.fmwplatform.envspec.common.ParentContainerWithVariablesFMWEnvSpecException - When any tuning parameters references cannot be readpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()