Interface ResourcePool
-
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,jakarta.validation.Payload,Resource
@ResourceNameConstraint(message="{resourcename.invalid.character}", payload=ResourcePool.class) public interface ResourcePool extends Resource, jakarta.validation.Payload
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResourcePool.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetIdentity()@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;:#]*",message="{resourcepool.invalid.name.key}",payload=ResourcePool.class) StringgetName()Gets the value of the name property.StringgetPing()Gets the value of the ping property.voidsetName(String value)Sets the value of the name property.voidsetPing(String value)Sets the value of the ping property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
-
-
-
-
Method Detail
-
getName
@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;:#]*", message="{resourcepool.invalid.name.key}", payload=ResourcePool.class) @NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;:#]*",message="{resourcepool.invalid.name.key}",payload=ResourcePool.class) 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
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentityin interfaceResource
-
getPing
String getPing()
Gets the value of the ping property. Property to ping pool during creation.- Returns:
- possible object is
String
-
setPing
void setPing(String value) throws PropertyVetoException
Sets the value of the ping property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
-