@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, removePropertygetJndiName, setJndiNamegetDeploymentOrder, getObjectType, setDeploymentOrder, setObjectTypecreateChild, deepCopy, getParent, getParentsetPoolNamestatic final String name
@NotNull @ReferenceConstraint.RemoteKey(message="{resourceref.invalid.poolname}", type=JdbcConnectionPool.class) @NotNull String getPoolName()
getPoolName in interface ResourcePoolReferenceStringString getEnabled()
getEnabled in interface BindableResourceStringvoid setEnabled(String value) throws PropertyVetoException
setEnabled in interface BindableResourcevalue - allowed object is
StringPropertyVetoExceptionString getDescription()
Stringvoid setDescription(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
PropertyBaggetProperty in interface PropertyBag@DuckTyped String getIdentity()
getIdentity in interface BindableResourcegetIdentity in interface ResourceCopyright © 2019. All rights reserved.