com.sun.enterprise.connectors.jms.system
Class JmsHostWrapper
java.lang.Object
com.sun.enterprise.connectors.jms.system.JmsHostWrapper
- All Implemented Interfaces:
- JmsHost, javax.validation.Payload, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
public class JmsHostWrapper
- extends java.lang.Object
- implements JmsHost
A wrapper class for the JmsHost serverbean since you cannot clone JmsHost
elements without being a part of a transaction
This class is primaritly used to create copies of the default jmshost element
during auto-clustering
| Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
org.jvnet.hk2.config.ConfigBeanProxy.Duck |
| Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag |
org.jvnet.hk2.config.types.PropertyBag.Duck |
|
Method Summary |
<T extends org.jvnet.hk2.config.ConfigBeanProxy>
T |
|
createChild(java.lang.Class<T> type)
|
org.jvnet.hk2.config.ConfigBeanProxy |
deepCopy(org.jvnet.hk2.config.ConfigBeanProxy proxy)
|
java.lang.String |
getAdminPassword()
|
java.lang.String |
getAdminUserName()
|
java.lang.String |
getHost()
|
java.lang.String |
getLazyInit()
|
java.lang.String |
getName()
|
org.jvnet.hk2.config.ConfigBeanProxy |
getParent()
|
<T extends org.jvnet.hk2.config.ConfigBeanProxy>
T |
|
getParent(java.lang.Class<T> type)
|
java.lang.String |
getPort()
|
java.util.List<org.jvnet.hk2.config.types.Property> |
getProperty()
|
org.jvnet.hk2.config.types.Property |
getProperty(java.lang.String str)
|
java.lang.String |
getPropertyValue(java.lang.String str)
|
java.lang.String |
getPropertyValue(java.lang.String str,
java.lang.String str2)
|
void |
injectedInto(java.lang.Object target)
|
void |
setAdminPassword(java.lang.String value)
|
void |
setAdminUserName(java.lang.String value)
Sets the value of the adminUserName property. |
void |
setHost(java.lang.String value)
Sets the value of the host property. |
void |
setLazyInit(java.lang.String value)
Sets the value of lazyInit property
Specify is this listener should be started as part of server startup or not |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setPort(java.lang.String value)
Sets the value of the port property. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
deepCopy |
JmsHostWrapper
public JmsHostWrapper()
getName
public java.lang.String getName()
- Specified by:
getName in interface JmsHost
setName
public void setName(java.lang.String value)
throws java.beans.PropertyVetoException
- Sets the value of the name property.
- Specified by:
setName in interface JmsHost
- Parameters:
value - allowed object is
String
- Throws:
java.beans.PropertyVetoException
getHost
public java.lang.String getHost()
- Specified by:
getHost in interface JmsHost
setHost
public void setHost(java.lang.String value)
throws java.beans.PropertyVetoException
- Sets the value of the host property.
ip V6 or V4 address or hostname
- Specified by:
setHost in interface JmsHost
- Parameters:
value - allowed object is
String
- Throws:
java.beans.PropertyVetoException
getPort
public java.lang.String getPort()
- Specified by:
getPort in interface JmsHost
setPort
public void setPort(java.lang.String value)
throws java.beans.PropertyVetoException
- Sets the value of the port property.
- Specified by:
setPort in interface JmsHost
- Parameters:
value - allowed object is
String
- Throws:
java.beans.PropertyVetoException
getLazyInit
public java.lang.String getLazyInit()
- Specified by:
getLazyInit in interface JmsHost
setLazyInit
public void setLazyInit(java.lang.String value)
- Sets the value of lazyInit property
Specify is this listener should be started as part of server startup or not
- Specified by:
setLazyInit in interface JmsHost
- Parameters:
value - true if the listener is to be started lazily; false otherwise
getAdminUserName
public java.lang.String getAdminUserName()
- Specified by:
getAdminUserName in interface JmsHost
setAdminUserName
public void setAdminUserName(java.lang.String value)
throws java.beans.PropertyVetoException
- Sets the value of the adminUserName property.
- Specified by:
setAdminUserName in interface JmsHost
- Parameters:
value - allowed object is
String
- Throws:
java.beans.PropertyVetoException
getAdminPassword
public java.lang.String getAdminPassword()
- Specified by:
getAdminPassword in interface JmsHost
setAdminPassword
public void setAdminPassword(java.lang.String value)
throws java.beans.PropertyVetoException
- Specified by:
setAdminPassword in interface JmsHost
- Throws:
java.beans.PropertyVetoException
getProperty
public java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
- Specified by:
getProperty in interface JmsHost- Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag
deepCopy
public org.jvnet.hk2.config.ConfigBeanProxy deepCopy(org.jvnet.hk2.config.ConfigBeanProxy proxy)
createChild
public <T extends org.jvnet.hk2.config.ConfigBeanProxy> T createChild(java.lang.Class<T> type)
throws org.jvnet.hk2.config.TransactionFailure
- Specified by:
createChild in interface org.jvnet.hk2.config.ConfigBeanProxy
- Throws:
org.jvnet.hk2.config.TransactionFailure
getParent
public org.jvnet.hk2.config.ConfigBeanProxy getParent()
- Specified by:
getParent in interface org.jvnet.hk2.config.ConfigBeanProxy
getParent
public <T extends org.jvnet.hk2.config.ConfigBeanProxy> T getParent(java.lang.Class<T> type)
- Specified by:
getParent in interface org.jvnet.hk2.config.ConfigBeanProxy
injectedInto
public void injectedInto(java.lang.Object target)
- Specified by:
injectedInto in interface org.jvnet.hk2.component.Injectable
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String str,
java.lang.String str2)
- Specified by:
getPropertyValue in interface org.jvnet.hk2.config.types.PropertyBag
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String str)
- Specified by:
getPropertyValue in interface org.jvnet.hk2.config.types.PropertyBag
getProperty
public org.jvnet.hk2.config.types.Property getProperty(java.lang.String str)
- Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag
Copyright © 2012 GlassFish Community. All Rights Reserved.