public class CoherenceModuleBinding extends Object implements oracle.fmwplatform.envspec.common.ContainerAware<CoherenceClusterBinding>, oracle.fmwplatform.envspec.common.Tunable<CoherenceClusterBinding>, oracle.fmwplatform.envspec.common.ParentContainerWithVariables, oracle.fmwplatform.util.validation.ValidationParticipant
Constructor and Description |
---|
CoherenceModuleBinding() |
Modifier and Type | Method and Description |
---|---|
boolean |
addAddressProviderBinding(CoherenceAddressProviderBinding addressProvider)
Add an address provider binding.
|
boolean |
addCacheBinding(CoherenceCacheBinding binding)
Add a cache binding.
|
boolean |
addInitParamBinding(CoherenceInitParamBinding initParam)
Add an initialization parameter binding.
|
boolean |
addRemoteParticipantHost(String host)
Add a remote participant host.
|
boolean |
addServiceBinding(CoherenceServiceBinding binding)
Add a service binding.
|
boolean |
addSetting(String alias,
String value)
Convenience method to add a setting with the given alias and value, to the tuning parameters for this
ServerBinding.
|
boolean |
addWellKnownAddressBinding(CoherenceClusterWellKnownAddressBinding binding)
Add a well-known address.
|
CoherenceAddressProviderBinding |
getAddressProviderBinding(String name)
Get the specified address provider binding.
|
CoherenceAddressProviderBinding |
getAddressProviderBindingByResourceReference(String refName)
Get the specified address provider by its resource reference.
|
List<CoherenceAddressProviderBinding> |
getAddressProviderBindings()
Get the list of address providers bindings.
|
oracle.fmwplatform.envspec.lookup.data.AliasCategory |
getAliasCategory() |
CoherenceCacheBinding |
getCacheBinding(String name)
Get the specified cache binding by name.
|
CoherenceCacheBinding |
getCacheBindingByResourceReference(String refName)
Get the specified cache binding by resource reference.
|
List<CoherenceCacheBinding> |
getCacheBindings()
Get the list of cache bindings.
|
CoherenceClusteringMode |
getClusteringMode()
Get the clustering mode.
|
String |
getClusterListenPort()
Get the cluster listen port.
|
String |
getCoherenceModuleRef()
Get the resource reference.
|
Map<String,String> |
getCombinedParameters()
Get the combined tuning parameters.
|
Map<String,String> |
getEffectiveVariables()
Returns the variables from the tuning parameters of this binding, as well as from its containing domain.
|
List<CoherenceInitParamBinding> |
getInitParamBindings()
Get the list of initialization parameter bindings.
|
String |
getKeyStoreCredentialRef()
Get the keystore credential reference.
|
String |
getMulticastListenAddress()
Get the multicast listen address.
|
String |
getMulticastListenPort()
Get the multicast listen port.
|
String |
getName()
Get the name.
|
CoherenceClusterBinding |
getParent()
Returns the object that contains this entity
|
String |
getRemoteCoherenceClusterListenPort()
Get the remote Coherence cluster listen port.
|
String |
getRemoteCoherenceClusterName()
Get the remote Coherence cluster name.
|
List<String> |
getRemoteParticipantHosts()
Get the list of remote participant hosts.
|
Map<String,String> |
getReservedKeywords()
Returns a map containing any reserved keywords and values for variable substitution for this entity
|
String |
getResourceRef()
Get the resource reference.
|
CoherenceServiceBinding |
getServiceBinding(String name)
Get the specified service binding by name.
|
CoherenceServiceBinding |
getServiceBindingByResourceReference(String refName)
Get the specified service binding by resource reference.
|
List<CoherenceServiceBinding> |
getServiceBindings()
Get the list of service bindings.
|
TuningParameters |
getTuningParameters()
Gets the TuningParameters for this CoherenceModuleBinding or null, if no Tuning Parameters are set.
|
String |
getUnicastListenAddress()
Get the unicast listen address.
|
String |
getUnicastListenPort()
Get the unicast listen port.
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
CoherenceClusterWellKnownAddressBinding |
getWellKnownAddressBinding(String name)
Get the specified well-known address by name.
|
CoherenceClusterWellKnownAddressBinding |
getWellKnownAddressBindingByResourceReference(String refName)
Get the specified well-known address by resource reference.
|
List<CoherenceClusterWellKnownAddressBinding> |
getWellKnownAddressBindings()
Get the list of well-known addresses.
|
boolean |
isCoherenceClusterParamsEmpty()
Determines whether or not the ClusterParams folder-related params are empty.
|
boolean |
isCoherenceFederationParamsEmpty()
Determines whether or not the FederationParams folder-related params are empty,
|
CoherenceModuleBinding |
setClusteringMode(CoherenceClusteringMode clusteringMode)
Set the clustering mode.
|
CoherenceModuleBinding |
setClusterListenPort(String clusterListenPort)
Set the cluster listen port.
|
CoherenceModuleBinding |
setCoherenceModuleRef(String coherenceModuleRef)
Set the resource reference.
|
CoherenceModuleBinding |
setCombinedParameters(Map<String,String> combinedParameters)
Set the combined tuning parameters.
|
CoherenceModuleBinding |
setKeyStoreCredentialRef(String keyStoreCredentialRef)
Set the keystore credential reference.
|
CoherenceModuleBinding |
setMulticastListenAddress(String multicastListenAddress)
Set the multicast listen address.
|
CoherenceModuleBinding |
setMulticastListenPort(String multicastListenPort)
Set the multicast listen port.
|
CoherenceModuleBinding |
setName(String name)
Set the name.
|
CoherenceModuleBinding |
setParent(CoherenceClusterBinding parentContainer)
Sets the container object that contains this.
|
CoherenceModuleBinding |
setRemoteCoherenceClusterListenPort(String remoteCoherenceClusterListenPort)
Set the remote Coherence cluster listen port.
|
CoherenceModuleBinding |
setRemoteCoherenceClusterName(String remoteCoherenceClusterName)
Set the remote Coherence cluster name.
|
CoherenceModuleBinding |
setRemoteParticipantHosts(List<String> hosts)
Set the list of federation remote pariticpant hosts
|
CoherenceModuleBinding |
setTuningParameters(TuningParameters tuningParameters)
Sets the TuningParameters for this CoherenceModuleBinding.
|
CoherenceModuleBinding |
setUnicastListenAddress(String unicastListenAddress)
Set the unicast listen address.
|
CoherenceModuleBinding |
setUnicastListenPort(String unicastListenPort)
Set the unicast listen port.
|
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 String getResourceRef()
getCoherenceModuleRef()
public String getCoherenceModuleRef()
getResourceRef()
public CoherenceModuleBinding setCoherenceModuleRef(String coherenceModuleRef)
coherenceModuleRef
- the new resource referencepublic String getName()
getName
in interface oracle.fmwplatform.envspec.common.Tunable<CoherenceClusterBinding>
public CoherenceModuleBinding setName(String name)
name
- the new namepublic String getClusterListenPort()
public CoherenceModuleBinding setClusterListenPort(String clusterListenPort)
clusterListenPort
- the new cluster listen portpublic CoherenceClusteringMode getClusteringMode()
public CoherenceModuleBinding setClusteringMode(CoherenceClusteringMode clusteringMode)
clusteringMode
- the new clustering modepublic String getMulticastListenAddress()
public CoherenceModuleBinding setMulticastListenAddress(String multicastListenAddress)
multicastListenAddress
- the new multicast listen addresspublic String getMulticastListenPort()
public CoherenceModuleBinding setMulticastListenPort(String multicastListenPort)
multicastListenPort
- the new multicast listen portpublic String getUnicastListenAddress()
public CoherenceModuleBinding setUnicastListenAddress(String unicastListenAddress)
unicastListenAddress
- the new unicast listen addresspublic String getUnicastListenPort()
public CoherenceModuleBinding setUnicastListenPort(String unicastListenPort)
unicastListenPort
- the new unicast listen portpublic String getRemoteCoherenceClusterListenPort()
public CoherenceModuleBinding setRemoteCoherenceClusterListenPort(String remoteCoherenceClusterListenPort)
remoteCoherenceClusterListenPort
- the new remote Coherence cluster listen portpublic String getRemoteCoherenceClusterName()
public CoherenceModuleBinding setRemoteCoherenceClusterName(String remoteCoherenceClusterName)
remoteCoherenceClusterName
- the new remote Coherence cluster namepublic CoherenceModuleBinding setRemoteParticipantHosts(List<String> hosts)
hosts
- the list remote participant hostspublic boolean addRemoteParticipantHost(String host)
host
- the remote participant host to addpublic List<String> getRemoteParticipantHosts()
public boolean addInitParamBinding(CoherenceInitParamBinding initParam)
initParam
- the initialization parameter binding to addpublic List<CoherenceInitParamBinding> getInitParamBindings()
public String getKeyStoreCredentialRef()
public CoherenceModuleBinding setKeyStoreCredentialRef(String keyStoreCredentialRef)
keyStoreCredentialRef
- the new keystore credential referencepublic boolean addAddressProviderBinding(CoherenceAddressProviderBinding addressProvider)
addressProvider
- the new address provider binding to addpublic CoherenceAddressProviderBinding getAddressProviderBinding(String name)
name
- the name of the address provider to getpublic CoherenceAddressProviderBinding getAddressProviderBindingByResourceReference(String refName)
refName
- the resource reference of the address provider bindingpublic List<CoherenceAddressProviderBinding> getAddressProviderBindings()
public boolean addCacheBinding(CoherenceCacheBinding binding)
binding
- the cache binding to addpublic CoherenceCacheBinding getCacheBinding(String name)
name
- the name of the cache binding to getpublic CoherenceCacheBinding getCacheBindingByResourceReference(String refName)
refName
- the resource reference of the cache binding to getpublic List<CoherenceCacheBinding> getCacheBindings()
public boolean addServiceBinding(CoherenceServiceBinding binding)
binding
- the service binding to addpublic CoherenceServiceBinding getServiceBinding(String name)
name
- the name of the service binding to getpublic CoherenceServiceBinding getServiceBindingByResourceReference(String refName)
refName
- the resource reference of the service binding to getpublic List<CoherenceServiceBinding> getServiceBindings()
public boolean addWellKnownAddressBinding(CoherenceClusterWellKnownAddressBinding binding)
binding
- the well-known address to addpublic CoherenceClusterWellKnownAddressBinding getWellKnownAddressBinding(String name)
name
- the name of the well-known address to getpublic CoherenceClusterWellKnownAddressBinding getWellKnownAddressBindingByResourceReference(String refName)
refName
- the resource reference of the well-known address to getpublic List<CoherenceClusterWellKnownAddressBinding> getWellKnownAddressBindings()
public boolean isCoherenceFederationParamsEmpty()
public boolean isCoherenceClusterParamsEmpty()
public boolean addSetting(String alias, String value)
addSetting
in interface oracle.fmwplatform.envspec.common.Tunable<CoherenceClusterBinding>
alias
- the alias of a Settingvalue
- the value of a Settingpublic TuningParameters getTuningParameters()
getTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<CoherenceClusterBinding>
public CoherenceModuleBinding setTuningParameters(TuningParameters tuningParameters)
setTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<CoherenceClusterBinding>
tuningParameters
- the TuningParameters for this CoherenceModuleBindingpublic CoherenceClusterBinding getParent()
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<CoherenceClusterBinding>
public CoherenceModuleBinding setParent(CoherenceClusterBinding parentContainer)
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<CoherenceClusterBinding>
parentContainer
- the parent containerpublic void validate(oracle.fmwplatform.util.validation.Validate validate)
validate
in interface oracle.fmwplatform.util.validation.ValidationParticipant
public Map<String,String> getCombinedParameters()
public CoherenceModuleBinding setCombinedParameters(Map<String,String> combinedParameters)
combinedParameters
- the new combined tuning parameterspublic oracle.fmwplatform.envspec.lookup.data.AliasCategory getAliasCategory()
getAliasCategory
in interface oracle.fmwplatform.envspec.common.Tunable<CoherenceClusterBinding>
public Map<String,String> getReservedKeywords()
getReservedKeywords
in interface oracle.fmwplatform.envspec.common.ReservedKeywordProvider
public String getVariableValue(String key)
getVariableValue
in interface oracle.fmwplatform.envspec.common.Substitutable
key
- the key of the variable to be checkedpublic String substitute(String text)
substitute
in interface oracle.fmwplatform.envspec.common.Substitutable
text
- the original textpublic Map<String,String> getEffectiveVariables() throws FMWEnvSpecException
getEffectiveVariables
in interface oracle.fmwplatform.envspec.common.ParentContainerWithVariables
FMWEnvSpecException
- When any tuning parameters references cannot be readpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()