@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, Resource, org.jvnet.hk2.config.types.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() |
String |
getPoolName()
Gets the value of the poolName property.
|
List<org.jvnet.hk2.config.types.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.
|
getProperty, getPropertyValue, getPropertyValuegetJndiName, setJndiNamegetDeploymentOrder, getObjectType, setDeploymentOrder, setObjectTypecreateChild, deepCopy, getParent, getParentsetPoolNamestatic final String name
@NotNull @ReferenceConstraint.RemoteKey(message="{resourceref.invalid.poolname}", type=JdbcConnectionPool.class) 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<org.jvnet.hk2.config.types.Property> getProperty()
PropertyBaggetProperty in interface org.jvnet.hk2.config.types.PropertyBag@DuckTyped String getIdentity()
getIdentity in interface BindableResourcegetIdentity in interface ResourceCopyright © 2017. All rights reserved.