Class AQEISConnectionSpec

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.eclipse.persistence.sessions.Connector

    public class AQEISConnectionSpec
    extends org.eclipse.persistence.eis.EISConnectionSpec
    Provides connection information to an Oracle AQ data source.
    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 DATASOURCE  
      static java.lang.String URL
      Connection spec properties.
      • Fields inherited from class org.eclipse.persistence.eis.EISConnectionSpec

        connectionFactory, connectionSpec, context, log, name, PASSWORD, USER
    • Constructor Summary

      Constructors 
      Constructor Description
      AQEISConnectionSpec()
      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
      • Methods inherited from class java.lang.Object

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

      • URL

        public static java.lang.String URL
        Connection spec properties.
      • DATASOURCE

        public static java.lang.String DATASOURCE
    • Constructor Detail

      • AQEISConnectionSpec

        public AQEISConnectionSpec()
        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