@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 ConfigBeanProxy, Resource, PropertyBag, BindableResource, javax.validation.Payload, ResourcePoolReference
Modifier and Type | Interface and Description |
---|---|
static class |
JdbcResource.Duck |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the value of the description property.
|
String |
getEnabled()
Gets the value of the enabled property.
|
String |
getIdentity() |
@NotNull String |
getPoolName()
Gets the value of the poolName property.
|
List<Property> |
getProperty()
Properties as per
PropertyBag |
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEnabled(String value)
Sets the value of the enabled property.
|
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
getJndiName, setJndiName
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
createChild, deepCopy, getParent, getParent
setPoolName
static final String name
@NotNull @ReferenceConstraint.RemoteKey(message="{resourceref.invalid.poolname}", type=JdbcConnectionPool.class) @NotNull String getPoolName()
getPoolName
in interface ResourcePoolReference
String
String getEnabled()
getEnabled
in interface BindableResource
String
void setEnabled(String value) throws PropertyVetoException
setEnabled
in interface BindableResource
value
- allowed object is
String
PropertyVetoException
String getDescription()
String
void setDescription(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
PropertyBag
getProperty
in interface PropertyBag
@DuckTyped String getIdentity()
getIdentity
in interface BindableResource
getIdentity
in interface Resource
Copyright © 2020. All rights reserved.