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
,org.eclipse.persistence.sessions.Connector
public class XMLFileEISConnectionSpec extends org.eclipse.persistence.eis.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
Fields Modifier and Type Field Description static java.lang.String
DIRECTORY
Connection spec properties.
-
Constructor Summary
Constructors Constructor Description XMLFileEISConnectionSpec()
PUBLIC: Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.resource.cci.Connection
connectToDataSource(org.eclipse.persistence.eis.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, setConnectionFactoryObject, setConnectionSpec, setConnectionSpecObject, setContext, setLog, setName, setName, toString, toString
-
-
-
-
Field Detail
-
DIRECTORY
public static final java.lang.String DIRECTORY
Connection spec properties.- See Also:
- Constant Field Values
-
-
Method Detail
-
connectToDataSource
public javax.resource.cci.Connection connectToDataSource(org.eclipse.persistence.eis.EISAccessor accessor, java.util.Properties properties) throws org.eclipse.persistence.exceptions.DatabaseException, org.eclipse.persistence.exceptions.ValidationException
Connect with the specified properties and return the Connection.- Overrides:
connectToDataSource
in classorg.eclipse.persistence.eis.EISConnectionSpec
- Throws:
org.eclipse.persistence.exceptions.DatabaseException
org.eclipse.persistence.exceptions.ValidationException
-
-