public class JmsHostWrapper extends Object implements JmsHost
ConfigBeanProxy.Duck
PropertyBag.Duck
PORT_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()
JmsHost
public void setName(String value) throws PropertyVetoException
setName
in interface JmsHost
value
- allowed object is
String
PropertyVetoException
public String getHost()
JmsHost
public void setHost(String value) throws PropertyVetoException
setHost
in interface JmsHost
value
- allowed object is
String
PropertyVetoException
public String getPort()
JmsHost
public void setPort(String value) throws PropertyVetoException
setPort
in interface JmsHost
value
- allowed object is
String
PropertyVetoException
public String getLazyInit()
JmsHost
getLazyInit
in interface JmsHost
public void setLazyInit(String value)
setLazyInit
in interface JmsHost
value
- true if the listener is to be started lazily; false otherwisepublic String getAdminUserName()
JmsHost
getAdminUserName
in interface JmsHost
String
public void setAdminUserName(String value) throws PropertyVetoException
setAdminUserName
in interface JmsHost
value
- allowed object is
String
PropertyVetoException
public String getAdminPassword()
JmsHost
getAdminPassword
in interface JmsHost
String
public void setAdminPassword(String value) throws PropertyVetoException
JmsHost
setAdminPassword
in interface JmsHost
value
- allowed object is
String
PropertyVetoException
public List<Property> getProperty()
JmsHost
PropertyBag
getProperty
in interface JmsHost
getProperty
in interface PropertyBag
public Property addProperty(Property property)
addProperty
in interface PropertyBag
public Property lookupProperty(String s)
lookupProperty
in interface PropertyBag
public Property removeProperty(String s)
removeProperty
in interface PropertyBag
public Property removeProperty(Property property)
removeProperty
in interface PropertyBag
public ConfigBeanProxy deepCopy(ConfigBeanProxy proxy)
ConfigBeanProxy
deepCopy
in interface ConfigBeanProxy
proxy
- the writable copy of the parentpublic <T extends ConfigBeanProxy> T createChild(Class<T> type) throws TransactionFailure
ConfigBeanProxy
createChild
in interface ConfigBeanProxy
type
- the child element typeTransactionFailure
- when called outside the boundaries of a transactionpublic ConfigBeanProxy getParent()
ConfigBeanProxy
getParent
in interface ConfigBeanProxy
public <T extends ConfigBeanProxy> T getParent(Class<T> type)
ConfigBeanProxy
getParent
in interface ConfigBeanProxy
type
- parent's typepublic void injectedInto(Object target)
public String getPropertyValue(String str, String str2)
PropertyBag
getPropertyValue
in interface PropertyBag
str
- 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)
PropertyBag
getPropertyValue
in interface PropertyBag
str
- the property name requestedpublic Property getProperty(String str)
getProperty
in interface PropertyBag
Copyright © 2020. All rights reserved.