Apache Derby 10.10

org.apache.derby.jdbc
Class EmbeddedXADataSource40

java.lang.Object
  extended by org.apache.derby.jdbc.EmbeddedBaseDataSource
      extended by org.apache.derby.jdbc.ReferenceableDataSource
          extended by org.apache.derby.jdbc.EmbeddedDataSource
              extended by org.apache.derby.jdbc.EmbeddedXADataSource
                  extended by org.apache.derby.jdbc.EmbeddedXADataSource40
All Implemented Interfaces:
java.io.Serializable, java.sql.Wrapper, javax.naming.Referenceable, javax.naming.spi.ObjectFactory, javax.sql.CommonDataSource, javax.sql.DataSource, javax.sql.XADataSource, org.apache.derby.jdbc.EmbeddedDataSourceInterface, org.apache.derby.jdbc.EmbeddedXADataSourceInterface

public class EmbeddedXADataSource40
extends org.apache.derby.jdbc.EmbeddedXADataSource
implements javax.sql.XADataSource

This datasource is suitable for an application using embedded Derby, running on the following platforms:

Use BasicEmbeddedXADataSource40 if your application runs on Java 8 Compact Profile 2.

Use EmbeddedXADataSource if your application runs on the following platforms:

EmbeddedXADataSource40 is an XADataSource implementation.

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 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.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.derby.jdbc.EmbeddedBaseDataSource
attributesAsPassword, connectionAttributes, createDatabase, databaseName, dataSourceName, description, driver, jdbcurl, loginTimeout, shutdownDatabase
 
Constructor Summary
EmbeddedXADataSource40()
          Creates a new instance of EmbeddedXADataSource40
 
Method Summary
 java.util.logging.Logger getParentLogger()
           
 
Methods inherited from class org.apache.derby.jdbc.EmbeddedXADataSource
getResourceAdapter, getXAConnection, getXAConnection, update
 
Methods inherited from class org.apache.derby.jdbc.EmbeddedDataSource
getReference
 
Methods inherited from class org.apache.derby.jdbc.ReferenceableDataSource
getObjectInstance
 
Methods inherited from class org.apache.derby.jdbc.EmbeddedBaseDataSource
equals, getAttributesAsPassword, getConnection, getConnection, getConnectionAttributes, getCreateDatabase, getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getPassword, getShortDatabaseName, getShutdownDatabase, getUser, isWrapperFor, setAttributesAsPassword, setConnectionAttributes, setCreateDatabase, setDatabaseName, setDataSourceName, setDescription, setLoginTimeout, setLogWriter, setPassword, setShutdownDatabase, setupResourceAdapter, setUser, unwrap
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sql.XADataSource
getXAConnection, getXAConnection
 
Methods inherited from interface javax.sql.CommonDataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 
Methods inherited from interface org.apache.derby.jdbc.EmbeddedDataSourceInterface
getAttributesAsPassword, getConnectionAttributes, getCreateDatabase, getDatabaseName, getDataSourceName, getDescription, getPassword, getShutdownDatabase, getUser, setAttributesAsPassword, setConnectionAttributes, setCreateDatabase, setDatabaseName, setDataSourceName, setDescription, setPassword, setShutdownDatabase, setUser
 
Methods inherited from interface javax.sql.DataSource
getConnection, getConnection
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

EmbeddedXADataSource40

public EmbeddedXADataSource40()
Creates a new instance of EmbeddedXADataSource40

Method Detail

getParentLogger

public java.util.logging.Logger getParentLogger()
                                         throws java.sql.SQLFeatureNotSupportedException
Throws:
java.sql.SQLFeatureNotSupportedException

Built on Wed 2013-06-12 15:21:56+0000, from revision ???

Apache Derby 10.10 API Documentation - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.