Interface ResourcePropertySet
-
public interface ResourcePropertySetGathers all resource properties valid for all types of containers.
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAMETERSParameters passed to the implementation class.static StringRESOURCEA property to encapsulate all the other resource properties.static StringRESOURCE_CLASSThe class name of the Resource implementation class.static StringRESOURCE_IDUnique id to use in configuration files.static StringRESOURCE_NAMEThe JNDI location that this datasource should be bound do (in the config file).static StringRESOURCE_TYPEThe type of the resource (ex.
-
-
-
Field Detail
-
RESOURCE
static final String RESOURCE
A property to encapsulate all the other resource properties. This is to get around cargo only passing strings around, instead of objects.
Important: Please only use this as a setter, as the resources can also be set using theaddResourcemethod.
-
RESOURCE_NAME
static final String RESOURCE_NAME
The JNDI location that this datasource should be bound do (in the config file). Note that many application servers may prepend a context (typicallyjava:comp/env) to this context.- See Also:
- Constant Field Values
-
RESOURCE_TYPE
static final String RESOURCE_TYPE
The type of the resource (ex.javax.sql.XADataSource,javax.sql.ConnectionPoolDataSource, etc..- See Also:
- Constant Field Values
-
RESOURCE_CLASS
static final String RESOURCE_CLASS
The class name of the Resource implementation class. Example:org.apache.derby.jdbc.EmbeddedXADataSource.- See Also:
- Constant Field Values
-
RESOURCE_ID
static final String RESOURCE_ID
Unique id to use in configuration files.- See Also:
- Constant Field Values
-
PARAMETERS
static final String PARAMETERS
Parameters passed to the implementation class.- See Also:
- Constant Field Values
-
-