Interface BindableResource
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,jakarta.validation.Payload,Resource
@ResourceNameConstraint(message="{resourcename.invalid.character}",
payload=BindableResource.class)
public interface BindableResource
extends Resource, jakarta.validation.Payload
-
Field Summary
FieldsFields inherited from interface com.sun.enterprise.config.serverbeans.Resource
OBJECT_TYPES -
Method Summary
Modifier and TypeMethodDescriptionGets the value of theenabledproperty.default String@NotNull @Pattern(regexp="[^\',][^\',\\\\]*",message="Pattern: [^\',][^\',\\\\]*") StringGets the value of thejndiNameproperty.voidsetEnabled(String enabled) Sets the value of theenabledproperty.voidsetJndiName(String jndiName) Sets the value of thejndiNameproperty.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
-
Field Details
-
PATTERN_JNDI
- See Also:
-
-
Method Details
-
getJndiName
@NotNull @Pattern(regexp="[^\',][^\',\\\\]*", message="Pattern: [^\',][^\',\\\\]*") @NotNull @Pattern(regexp="[^\',][^\',\\\\]*",message="Pattern: [^\',][^\',\\\\]*") String getJndiName()Gets the value of thejndiNameproperty.- Returns:
- possible object is
String
-
setJndiName
Sets the value of thejndiNameproperty.- Parameters:
jndiName- allowed object isString- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()Gets the value of theenabledproperty.- Returns:
- possible object is
String
-
setEnabled
Sets the value of theenabledproperty.- Parameters:
enabled- allowed object isString- Throws:
PropertyVetoException
-
getIdentity
- Specified by:
getIdentityin interfaceResource
-