public class JmsHostWrapper extends Object implements JmsHost
ConfigBeanProxy.DuckPropertyBag.DuckPORT_PATTERN| Constructor and Description |
|---|
JmsHostWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Property |
addProperty(Property property) |
<T extends ConfigBeanProxy> |
createChild(Class<T> type)
Creates a child element of this configuration element
|
ConfigBeanProxy |
deepCopy(ConfigBeanProxy proxy)
Performs a deep copy of this configuration element and returns it.
|
String |
getAdminPassword()
Gets the value of the adminPassword property.
|
String |
getAdminUserName()
Gets the value of the adminUserName property.
|
String |
getHost()
Gets the value of the host property.
|
String |
getLazyInit()
Gets the value of lazyInit property
if false, this listener is started during server startup
|
String |
getName()
Gets the value of the name property.
|
ConfigBeanProxy |
getParent()
Returns the parent element of this configuration element.
|
<T extends ConfigBeanProxy> |
getParent(Class<T> type)
Returns the typed parent element of this configuration element.
|
String |
getPort()
Gets the value of the port property.
|
List<Property> |
getProperty()
Properties as per
PropertyBag |
Property |
getProperty(String str) |
String |
getPropertyValue(String str)
Returns a property value if the bean has properties and one of its
properties name is equal to the one passed.
|
String |
getPropertyValue(String str,
String str2)
Returns a property value if the bean has properties and one of its
properties name is equal to the one passed.
|
void |
injectedInto(Object target) |
Property |
lookupProperty(String s) |
Property |
removeProperty(Property property) |
Property |
removeProperty(String s) |
void |
setAdminPassword(String value)
Sets the value of the adminPassword property.
|
void |
setAdminUserName(String value)
Sets the value of the adminUserName property.
|
void |
setHost(String value)
Sets the value of the host property.
|
void |
setLazyInit(String value)
Sets the value of lazyInit property
Specify is this listener should be started as part of server startup or not
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPort(String value)
Sets the value of the port property.
|
public String getName()
JmsHostpublic void setName(String value) throws PropertyVetoException
setName in interface JmsHostvalue - allowed object is
StringPropertyVetoExceptionpublic String getHost()
JmsHostpublic void setHost(String value) throws PropertyVetoException
setHost in interface JmsHostvalue - allowed object is
StringPropertyVetoExceptionpublic String getPort()
JmsHostpublic void setPort(String value) throws PropertyVetoException
setPort in interface JmsHostvalue - allowed object is
StringPropertyVetoExceptionpublic String getLazyInit()
JmsHostgetLazyInit in interface JmsHostpublic void setLazyInit(String value)
setLazyInit in interface JmsHostvalue - true if the listener is to be started lazily; false otherwisepublic String getAdminUserName()
JmsHostgetAdminUserName in interface JmsHostStringpublic void setAdminUserName(String value) throws PropertyVetoException
setAdminUserName in interface JmsHostvalue - allowed object is
StringPropertyVetoExceptionpublic String getAdminPassword()
JmsHostgetAdminPassword in interface JmsHostStringpublic void setAdminPassword(String value) throws PropertyVetoException
JmsHostsetAdminPassword in interface JmsHostvalue - allowed object is
StringPropertyVetoExceptionpublic List<Property> getProperty()
JmsHostPropertyBaggetProperty in interface JmsHostgetProperty in interface PropertyBagpublic Property addProperty(Property property)
addProperty in interface PropertyBagpublic Property lookupProperty(String s)
lookupProperty in interface PropertyBagpublic Property removeProperty(String s)
removeProperty in interface PropertyBagpublic Property removeProperty(Property property)
removeProperty in interface PropertyBagpublic ConfigBeanProxy deepCopy(ConfigBeanProxy proxy)
ConfigBeanProxydeepCopy in interface ConfigBeanProxyproxy - the writable copy of the parentpublic <T extends ConfigBeanProxy> T createChild(Class<T> type) throws TransactionFailure
ConfigBeanProxycreateChild in interface ConfigBeanProxytype - the child element typeTransactionFailure - when called outside the boundaries of a transactionpublic ConfigBeanProxy getParent()
ConfigBeanProxygetParent in interface ConfigBeanProxypublic <T extends ConfigBeanProxy> T getParent(Class<T> type)
ConfigBeanProxygetParent in interface ConfigBeanProxytype - parent's typepublic void injectedInto(Object target)
public String getPropertyValue(String str, String str2)
PropertyBaggetPropertyValue in interface PropertyBagstr - the property name requestedstr2 - is the default value to return in case the property
of that name does not exist in this bagpublic String getPropertyValue(String str)
PropertyBaggetPropertyValue in interface PropertyBagstr - the property name requestedpublic Property getProperty(String str)
getProperty in interface PropertyBagCopyright © 2019. All rights reserved.