Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-02


oracle.toplink.eis.adapters.blackbox
Class BlackboxConnectionSpec

java.lang.Object
  extended by oracle.toplink.eis.EISConnectionSpec
      extended by oracle.toplink.eis.adapters.blackbox.BlackboxConnectionSpec

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Connector

public class BlackboxConnectionSpec
extends EISConnectionSpec

Provides the behavoir of instantiating a Sun blackbox ConnectionSpec if a username/password was specified in the login.

Since:
OracleAS TopLink 10g (10.0.3)
See Also:
Serialized Form

Field Summary
static java.lang.String CONNECTION_URL
          Blackbox connection spec properties.

 

Fields inherited from class oracle.toplink.eis.EISConnectionSpec
PASSWORD, USER

 

Constructor Summary
BlackboxConnectionSpec()
          Construct a BlackboxConnectionSpec with no settings.
BlackboxConnectionSpec(javax.resource.cci.ConnectionFactory connectionFactory)
          Construct a BlackboxConnectionSpec with the specified settings.
BlackboxConnectionSpec(javax.naming.Context context, javax.naming.Name name)
          Construct a BlackboxConnectionSpec with the specified settings.
BlackboxConnectionSpec(javax.naming.Context context, java.lang.String name)
          Construct a BlackboxConnectionSpec with the specified settings.
BlackboxConnectionSpec(javax.naming.Name name)
          Construct a BlackboxConnectionSpec with the specified settings.
BlackboxConnectionSpec(java.lang.String name)
          Construct a BlackboxConnectionSpec with the specified settings.
BlackboxConnectionSpec(java.lang.String name, javax.resource.cci.ConnectionSpec connectionSpec)
          Construct a BlackboxConnectionSpec with the specified settings.

 

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 oracle.toplink.eis.EISConnectionSpec
getConnectionDetails, getConnectionFactory, getConnectionSpec, getContext, getLog, getName, setConnectionFactory, setConnectionSpec, setContext, setLog, setName, setName, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

CONNECTION_URL

public static java.lang.String CONNECTION_URL
Description copied from class: BlackboxConnectionSpec
Blackbox connection spec properties.

Constructor Detail

BlackboxConnectionSpec

public BlackboxConnectionSpec()
Construct a BlackboxConnectionSpec with no settings. The ConnectionFactory name will still need to be set.

BlackboxConnectionSpec

public BlackboxConnectionSpec(javax.naming.Context context,
                              java.lang.String name)
Construct a BlackboxConnectionSpec with the specified settings.

BlackboxConnectionSpec

public BlackboxConnectionSpec(java.lang.String name)
Construct a BlackboxConnectionSpec with the specified settings.

BlackboxConnectionSpec

public BlackboxConnectionSpec(java.lang.String name,
                              javax.resource.cci.ConnectionSpec connectionSpec)
                       throws ValidationException
Construct a BlackboxConnectionSpec with the specified settings.
Throws:
ValidationException

BlackboxConnectionSpec

public BlackboxConnectionSpec(javax.naming.Context context,
                              javax.naming.Name name)
Construct a BlackboxConnectionSpec with the specified settings.

BlackboxConnectionSpec

public BlackboxConnectionSpec(javax.naming.Name name)
Construct a BlackboxConnectionSpec with the specified settings.

BlackboxConnectionSpec

public BlackboxConnectionSpec(javax.resource.cci.ConnectionFactory connectionFactory)
Construct a BlackboxConnectionSpec with the specified settings.

Method Detail

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

Skip navigation links

Copyright © 1998, 2009, Oracle. All Rights Reserved.