Interface JmsHost
-
- All Superinterfaces:
ConfigBeanProxy,ConfigExtension,Container,jakarta.validation.Payload,PropertyBag
- All Known Implementing Classes:
JmsHostWrapper
public interface JmsHost extends ConfigExtension, PropertyBag, jakarta.validation.Payload
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
ConfigBeanProxy.Duck
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
PropertyBag.Duck
-
-
Field Summary
Fields Modifier and Type Field Description static StringPORT_PATTERN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAdminPassword()Gets the value of the adminPassword property.StringgetAdminUserName()Gets the value of the adminUserName property.StringgetHost()Gets the value of the host property.StringgetLazyInit()Gets the value of lazyInit property if false, this listener is started during server startup@NotNull StringgetName()Gets the value of the name property.@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) StringgetPort()Gets the value of the port property.List<Property>getProperty()Properties as perPropertyBagvoidsetAdminPassword(String value)Sets the value of the adminPassword property.voidsetAdminUserName(String value)Sets the value of the adminUserName property.voidsetHost(String value)Sets the value of the host property.voidsetLazyInit(String value)Sets the value of lazyInit property Specify is this listener should be started as part of server startup or notvoidsetName(String value)Sets the value of the name property.voidsetPort(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.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
-
-
-
Field Detail
-
PORT_PATTERN
static final String PORT_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
@NotNull @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 isString- Throws:
PropertyVetoException
-
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 isString- 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) @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 isString- 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 isString- 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 isString- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBag- Specified by:
getPropertyin interfacePropertyBag- Returns:
- the property list
-
-