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 -
Field Summary
Fields inherited from interface com.sun.enterprise.config.serverbeans.Resource
OBJECT_TYPES -
Method Summary
Modifier and TypeMethodDescription@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.getPing()Gets the value of the ping property.voidSets the value of the name property.voidSets the value of the ping property.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
-
Method Details
-
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
Sets the value of the name property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
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
Sets the value of the ping property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-