com.sun.enterprise.config.serverbeans
Interface JmsHost

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, javax.validation.Payload, org.jvnet.hk2.config.types.PropertyBag

public interface JmsHost
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag, javax.validation.Payload


Nested Class Summary
 
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
 
Field Summary
static String PORT_PATTERN
           
 
Method Summary
 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.
 String getPort()
          Gets the value of the port property.
 List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 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.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Field Detail

PORT_PATTERN

static final String PORT_PATTERN
See Also:
Constant Field Values
Method Detail

getName

@NotNull
String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

void setName(String value)
             throws PropertyVetoException
Sets the value of the name property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getHost

String getHost()
Gets the value of the host property.

Returns:
possible object is String

setHost

void setHost(String value)
             throws PropertyVetoException
Sets the value of the host property. ip V6 or V4 address or hostname

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getPort

@Pattern(regexp="\\$\\{[\\p{L}\\p{N}_][\\p{L}\\p{N}\\-_./;#]*\\}|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9]|65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]",
         message="{port-pattern}",
         payload=JmsHost.class)
String getPort()
Gets the value of the port property. Port number used by the JMS service

Returns:
possible object is String

setPort

void setPort(String value)
             throws PropertyVetoException
Sets the value of the port property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getLazyInit

String getLazyInit()
Gets the value of lazyInit property if false, this listener is started during server startup

Returns:
true or false

setLazyInit

void setLazyInit(String value)
Sets the value of lazyInit property Specify is this listener should be started as part of server startup or not

Parameters:
value - true if the listener is to be started lazily; false otherwise

getAdminUserName

String getAdminUserName()
Gets the value of the adminUserName property. Specifies the admin username

Returns:
possible object is String

setAdminUserName

void setAdminUserName(String value)
                      throws PropertyVetoException
Sets the value of the adminUserName property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getAdminPassword

String getAdminPassword()
Gets the value of the adminPassword property. Attribute specifies the admin password

Returns:
possible object is String

setAdminPassword

void setAdminPassword(String value)
                      throws PropertyVetoException
Sets the value of the adminPassword property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.