ERXJDBCAdaptor Class Reference

Inherits com::webobjects::jdbcadaptor::JDBCAdaptor.

Collaboration diagram for ERXJDBCAdaptor:

Collaboration graph
[legend]

List of all members.

Classes

class  Channel
interface  ConnectionBroker
class  Context

Public Member Functions

EOAdaptorContext createAdaptorContext ()
Context createJDBCContext ()
 ERXJDBCAdaptor (String s)

Static Public Member Functions

static void registerJDBCAdaptor ()
static boolean useConnectionBroker ()

Static Public Attributes

static final String CLASS_NAME_KEY = "er.extensions.ERXJDBCAdaptor.className"
static final Logger log = Logger.getLogger(ERXJDBCAdaptor.class)
static final String USE_CONNECTION_BROKER_KEY = "er.extensions.ERXJDBCAdaptor.useConnectionBroker"

Protected Member Functions

JDBCContext _cachedAdaptorContext ()
Connection checkoutConnection ()
void freeConnection (Connection connection)
NSDictionary jdbcInfo ()
NSDictionary typeInfo ()

Static Package Functions

static boolean switchReadWrite ()

Private Member Functions

ConnectionBroker connectionBroker ()

Static Private Attributes

static Boolean switchReadWrite = null
static Boolean useConnectionBroker = null


Detailed Description

Subclass of the JDBC adaptor and accompanying classes that supports connection pooling and posting of adaptor operation notifications. Will get patched into the runtime via the usual class name magic if the property er.extensions.ERXJDBCAdaptor.className is set to this class's name or another subclass of JDBCAdaptor. The connection pooling will be enabled if the system property er.extensions.ERXJDBCAdaptor.useConnectionBroker is set.

Author:
ak

Constructor & Destructor Documentation

ERXJDBCAdaptor ( String  s  ) 


Member Function Documentation

JDBCContext _cachedAdaptorContext (  )  [protected]

Connection checkoutConnection (  )  [protected]

ConnectionBroker connectionBroker (  )  [private]

EOAdaptorContext createAdaptorContext (  ) 

Context createJDBCContext (  ) 

void freeConnection ( Connection  connection  )  [protected]

NSDictionary jdbcInfo (  )  [protected]

static void registerJDBCAdaptor (  )  [static]

static boolean switchReadWrite (  )  [static, package]

NSDictionary typeInfo (  )  [protected]

static boolean useConnectionBroker (  )  [static]

Returns whether the connection broker is active.


Member Data Documentation

final String CLASS_NAME_KEY = "er.extensions.ERXJDBCAdaptor.className" [static]

final Logger log = Logger.getLogger(ERXJDBCAdaptor.class) [static]

Boolean switchReadWrite = null [static, private]

final String USE_CONNECTION_BROKER_KEY = "er.extensions.ERXJDBCAdaptor.useConnectionBroker" [static]

Boolean useConnectionBroker = null [static, private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:15 2012 for Project Wonder by  doxygen 1.5.8