Package org.glassfish.jdbc.config
Interface JdbcResource
-
- All Superinterfaces:
com.sun.enterprise.config.serverbeans.BindableResource,org.jvnet.hk2.config.ConfigBeanProxy,jakarta.validation.Payload,org.jvnet.hk2.config.types.PropertyBag,com.sun.enterprise.config.serverbeans.Resource,com.sun.enterprise.config.serverbeans.ResourcePoolReference
@ResourceConfigCreator(commandName="create-jdbc-resource") @ResourceTypeOrder(deploymentOrder=JDBC_RESOURCE) @ReferenceConstraint(skipDuringCreation=true, payload=JdbcResource.class) @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=JdbcResource.class) public interface JdbcResource extends org.jvnet.hk2.config.ConfigBeanProxy, com.sun.enterprise.config.serverbeans.Resource, org.jvnet.hk2.config.types.PropertyBag, com.sun.enterprise.config.serverbeans.BindableResource, jakarta.validation.Payload, com.sun.enterprise.config.serverbeans.ResourcePoolReferenceJDBC javax.sql.(XA)DataSource resource definition
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classJdbcResource.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Gets the value of the description property.StringgetEnabled()Gets the value of the enabled property.StringgetIdentity()@NotNull StringgetPoolName()Gets the value of the poolName property.List<org.jvnet.hk2.config.types.Property>getProperty()Properties as perPropertyBagvoidsetDescription(String value)Sets the value of the description property.voidsetEnabled(String value)Sets the value of the enabled property.-
Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getJndiName, setJndiName
-
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
-
name
static final String name
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPoolName
@NotNull @RemoteKey(message="{resourceref.invalid.poolname}", type=JdbcConnectionPool.class) @NotNull String getPoolName()Gets the value of the poolName property.- Specified by:
getPoolNamein interfacecom.sun.enterprise.config.serverbeans.ResourcePoolReference- Returns:
- possible object is
String
-
getEnabled
String getEnabled()
Gets the value of the enabled property.- Specified by:
getEnabledin interfacecom.sun.enterprise.config.serverbeans.BindableResource- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Specified by:
setEnabledin interfacecom.sun.enterprise.config.serverbeans.BindableResource- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getDescription
String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
void setDescription(String value) throws PropertyVetoException
Sets the value of the description property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()Properties as perPropertyBag- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.BindableResource- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.Resource
-
-