| Modifier and Type | Field and Description |
|---|---|
| protected static final String | DATA_SOURCE_CLASS_NAME
The class name for a standard MySQL DataSource. |
| protected static final String | POOL_DATA_SOURCE_CLASS_NAME
The class name for a poolable MySQL DataSource. |
| protected static final String | XA_DATA_SOURCE_CLASS_NAME
The class name for a MysqlXADataSource |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getObjectInstance(Object
The possibly null object containing location or reference
information that can be used in creating an object. refObj, Name The name of this object relative to nm, Context nameCtx,
or null if no name is specified.The context relative to which the ctx, Hashtable<?, ?> name
parameter is specified, or null if name is
relative to the default initial context.The possibly null environment that is used in
creating the object. env)Implements javax. Creates an object using the location or reference information specified. |
| private String |
| DATA_SOURCE_CLASS_NAME | back to summary |
|---|---|
| protected static final String DATA_SOURCE_CLASS_NAME The class name for a standard MySQL DataSource. | |
| POOL_DATA_SOURCE_CLASS_NAME | back to summary |
|---|---|
| protected static final String POOL_DATA_SOURCE_CLASS_NAME The class name for a poolable MySQL DataSource. | |
| XA_DATA_SOURCE_CLASS_NAME | back to summary |
|---|---|
| protected static final String XA_DATA_SOURCE_CLASS_NAME The class name for a MysqlXADataSource | |
| MysqlDataSourceFactory | back to summary |
|---|---|
| public MysqlDataSourceFactory() | |
| getObjectInstance | back to summary |
|---|---|
| public Object getObjectInstance(Object refObj, Name nm, Context ctx, Hashtable<?, ?> env) throws Exception Implements javax. Doc from javax. Creates an object using the location or reference information specified.
Special requirements of this object are supplied
using
A URL context factory is a special ObjectFactory that
creates contexts for resolving URLs or objects whose locations
are specified by URLs. The
The
Name and Context Parameters.
The
| |
| nullSafeRefAddrStringGet | back to summary |
|---|---|
| private String nullSafeRefAddrStringGet(String referenceName, Reference ref) | |