Class 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.
      • Fields inherited from class org.eclipse.persistence.eis.EISConnectionSpec

        connectionFactory, connectionSpec, context, log, name, PASSWORD, USER
    • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • DIRECTORY

        public static final java.lang.String DIRECTORY
        Connection spec properties.
        See Also:
        Constant Field Values
    • Constructor Detail

      • XMLFileEISConnectionSpec

        public XMLFileEISConnectionSpec()
        PUBLIC: Default constructor.
    • 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 class org.eclipse.persistence.eis.EISConnectionSpec
        Throws:
        org.eclipse.persistence.exceptions.DatabaseException
        org.eclipse.persistence.exceptions.ValidationException