org.eclipse.persistence.eis.adapters.xmlfile
Class XMLFileEISConnectionSpec
java.lang.Object
org.eclipse.persistence.eis.EISConnectionSpec
org.eclipse.persistence.eis.adapters.xmlfile.XMLFileEISConnectionSpec
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Connector
public class XMLFileEISConnectionSpec
- extends EISConnectionSpec
Provides the behavior of instantiating a XML file adapter ConnectionSpec.
- See Also:
- Serialized Form
- Author:
- James
- Since:
- OracleAS TopLink 10g (10.0.3)
Field Summary |
static java.lang.String |
DIRECTORY
Connection spec properties. |
Method Summary |
javax.resource.cci.Connection |
connectToDataSource(EISAccessor accessor,
java.util.Properties properties)
Connect with the specified properties and return the Connection. |
Methods inherited from class org.eclipse.persistence.eis.EISConnectionSpec |
clone, connect, getConnectionDetails, getConnectionFactory, getConnectionSpec, getContext, getLog, getName, getPasswordFromProperties, setConnectionFactory, setConnectionSpec, setContext, setLog, setName, setName, toString, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DIRECTORY
public static java.lang.String DIRECTORY
- Connection spec properties.
XMLFileEISConnectionSpec
public XMLFileEISConnectionSpec()
- PUBLIC:
Default constructor.
connectToDataSource
public javax.resource.cci.Connection connectToDataSource(EISAccessor accessor,
java.util.Properties properties)
throws DatabaseException,
ValidationException
- Connect with the specified properties and return the Connection.
- Overrides:
connectToDataSource
in class EISConnectionSpec
- Throws:
DatabaseException
ValidationException