|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.derby.jdbc.ReferenceableDataSource org.apache.derby.jdbc.EmbeddedDataSource org.apache.derby.jdbc.EmbeddedXADataSource org.apache.derby.jdbc.EmbeddedXADataSource40
public class EmbeddedXADataSource40
EmbeddedXADataSource40 is Derby's XADataSource implementation for JDBC4.0.
An XADataSource is a factory for XAConnection objects. It represents a RM in a DTP environment. An object that implements the XADataSource interface is typically registered with a JNDI service provider.
EmbeddedXADataSource40 supports the JDBC 4.0 specification for the J2SE 6.0 Java Virtual Machine environment. Use EmbeddedXADataSource if your application runs in the following environments:
EmbeddedXADataSource40 object only works on a local database. There is no client/server support. An EmbeddedXADataSource40 object must live in the same jvm as the database.
EmbeddedXADataSource40 is serializable and referenceable.
See EmbeddedDataSource40 for DataSource properties.
Constructor Summary | |
---|---|
EmbeddedXADataSource40()
Creates a new instance of EmbeddedXADataSource40 |
Method Summary | ||
---|---|---|
boolean |
isWrapperFor(java.lang.Class<?> interfaces)
Returns false unless interfaces is implemented |
|
|
unwrap(java.lang.Class<T> interfaces)
Returns this if this class implements the interface |
Methods inherited from class org.apache.derby.jdbc.EmbeddedXADataSource |
---|
createXAConnection, getXAConnection, getXAConnection |
Methods inherited from class org.apache.derby.jdbc.EmbeddedDataSource |
---|
equals, getAttributesAsPassword, getConnection, getConnection, getConnectionAttributes, getCreateDatabase, getShutdownDatabase, setAttributesAsPassword, setConnectionAttributes, setCreateDatabase, setShutdownDatabase |
Methods inherited from class org.apache.derby.jdbc.ReferenceableDataSource |
---|
getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getObjectInstance, getPassword, getReference, getUser, setDatabaseName, setDataSourceName, setDescription, setLoginTimeout, setLogWriter, setPassword, setUser |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.CommonDataSource |
---|
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Constructor Detail |
---|
public EmbeddedXADataSource40()
Method Detail |
---|
public boolean isWrapperFor(java.lang.Class<?> interfaces) throws java.sql.SQLException
interfaces
is implemented
interfaces
- a Class defining an interface.
java.sql.SQLException
- if an error occurs while determining
whether this is a wrapper for an object
with the given interface.public <T> T unwrap(java.lang.Class<T> interfaces) throws java.sql.SQLException
this
if this class implements the interface
interfaces
- a Class defining an interface
java.sql.SQLExption
- if no object if found that implements the
interface
java.sql.SQLException
|
Built on Wed 2007-08-01 06:53:39-0700, from revision 561794 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |