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
-
Field Summary
Fields inherited from interface com.sun.enterprise.config.serverbeans.Resource
OBJECT_TYPES -
Method Summary
Modifier and TypeMethodDescriptiondefault String@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;:#]*",message="{resourcepool.invalid.name.key}",payload=ResourcePool.class) StringgetName()Gets the value of thenameproperty.getPing()Gets the value of thepingproperty.voidSets the value of thenameproperty.voidSets the value of thepingproperty.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 thenameproperty.- Returns:
- possible object is
String
-
setName
Sets the value of thenameproperty.- Parameters:
name- allowed object isString- Throws:
PropertyVetoException
-
getIdentity
- Specified by:
getIdentityin interfaceResource
-
getPing
String getPing()Gets the value of thepingproperty.Property to ping pool during creation.
- Returns:
- possible object is
String
-
setPing
Sets the value of thepingproperty.- Parameters:
ping- allowed object isString- Throws:
PropertyVetoException
-