public class JMSSessionPoolBinding extends Object implements oracle.fmwplatform.envspec.common.Tunable<JMSServerBinding>, oracle.fmwplatform.envspec.common.ContainerAware<JMSServerBinding>, oracle.fmwplatform.envspec.common.ParentContainerWithVariables, oracle.fmwplatform.util.validation.ValidationParticipant
Constructor and Description |
---|
JMSSessionPoolBinding() |
Modifier and Type | Method and Description |
---|---|
boolean |
addConnectionConsumerBinding(JMSConnectionConsumerBinding 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 JMSSessionPoolBinding.
|
oracle.fmwplatform.envspec.lookup.data.AliasCategory |
getAliasCategory() |
Map<String,String> |
getCombinedParameters() |
JMSConnectionConsumerBinding |
getConnectionConsumerBinding(String name) |
JMSConnectionConsumerBinding |
getConnectionConsumerBindingByResourceReference(String refName) |
List<JMSConnectionConsumerBinding> |
getConnectionConsumerBindings() |
Map<String,String> |
getEffectiveVariables()
Returns the variables from the tuning parameters of this binding, as well as from its containing
JMSServer binding.
|
String |
getName() |
JMSServerBinding |
getParent()
Get the parent container domain.
|
Map<String,String> |
getReservedKeywords()
Get the reserved keyword map.
|
String |
getResourceRef()
Get the resource reference for this binding.
|
String |
getSessionPoolRef() |
TuningParameters |
getTuningParameters()
Returns the TuningParameters.
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
JMSSessionPoolBinding |
setCombinedParameters(Map<String,String> combinedParameters) |
JMSSessionPoolBinding |
setName(String name) |
JMSSessionPoolBinding |
setParent(JMSServerBinding parentJmsServerBinding)
Set the parent container JMSServerBinding.
|
JMSSessionPoolBinding |
setSessionPoolRef(String sessionPoolRef) |
JMSSessionPoolBinding |
setTuningParameters(TuningParameters tuningParameters)
Sets the TuningParameters for this JMSSessionPoolBinding or null if no TuningParameters.
|
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)
Validate this binding using the specified Validate instance.
|
public String getResourceRef()
public String getSessionPoolRef()
public JMSSessionPoolBinding setSessionPoolRef(String sessionPoolRef)
public String getName()
getName
in interface oracle.fmwplatform.envspec.common.Tunable<JMSServerBinding>
public JMSSessionPoolBinding setName(String name)
public boolean addConnectionConsumerBinding(JMSConnectionConsumerBinding binding)
public JMSConnectionConsumerBinding getConnectionConsumerBinding(String name)
public JMSConnectionConsumerBinding getConnectionConsumerBindingByResourceReference(String refName)
public List<JMSConnectionConsumerBinding> getConnectionConsumerBindings()
public JMSServerBinding getParent()
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<JMSServerBinding>
public JMSSessionPoolBinding setParent(JMSServerBinding parentJmsServerBinding)
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<JMSServerBinding>
parentJmsServerBinding
- the parent container JMSServerBindingpublic JMSSessionPoolBinding setCombinedParameters(Map<String,String> combinedParameters)
public TuningParameters getTuningParameters()
getTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<JMSServerBinding>
public JMSSessionPoolBinding setTuningParameters(TuningParameters tuningParameters)
setTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<JMSServerBinding>
tuningParameters
- the TuningParameters for this JMSSessionPoolBinding or null if no TuningParameterspublic oracle.fmwplatform.envspec.lookup.data.AliasCategory getAliasCategory()
getAliasCategory
in interface oracle.fmwplatform.envspec.common.Tunable<JMSServerBinding>
public boolean addSetting(String alias, String value)
addSetting
in interface oracle.fmwplatform.envspec.common.Tunable<JMSServerBinding>
alias
- the alias of a Settingvalue
- the value of a Settingpublic 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 void validate(oracle.fmwplatform.util.validation.Validate validate)
validate
in interface oracle.fmwplatform.util.validation.ValidationParticipant
validate
- the Validate instance performing the validationpublic Map<String,String> getReservedKeywords()
getReservedKeywords
in interface oracle.fmwplatform.envspec.common.ReservedKeywordProvider
public String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()