Class XMLFileEISConnectionSpec
java.lang.Object
org.eclipse.persistence.eis.EISConnectionSpec
org.eclipse.persistence.eis.adapters.xmlfile.XMLFileEISConnectionSpec
- All Implemented Interfaces:
Serializable
,Cloneable
,Connector
Provides the behavior of instantiating a XML file adapter ConnectionSpec.
- Since:
- OracleAS TopLink 10g (10.0.3)
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.eis.EISConnectionSpec
connectionFactory, connectionSpec, context, log, name, PASSWORD, USER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconnectToDataSource
(EISAccessor accessor, 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 Details
-
DIRECTORY
Connection spec properties.- See Also:
-
-
Constructor Details
-
XMLFileEISConnectionSpec
public XMLFileEISConnectionSpec()PUBLIC: Default constructor.
-
-
Method Details
-
connectToDataSource
public Connection connectToDataSource(EISAccessor accessor, Properties properties) throws DatabaseException, ValidationException Connect with the specified properties and return the Connection.- Overrides:
connectToDataSource
in classEISConnectionSpec
- Throws:
DatabaseException
ValidationException
-