JDOConnectionFactory(Logger logger, SpeedoManagedConnectionFactory fmcf, ConnectionManager cm, byte transactionMode) throws ResourceException(Code)
Constructs a JDOConnectionFactory. Associates a ConnectionManager with
it, or creates a default one (if null).
Parameters: fmcf - The ManagedConnectionFactory to be associated with thisConnectionFactory. Parameters: cm - The ConnectionManager to be associated with thisConnectionFactory. It may be null. Parameters: transactionMode - the mode of transaction chosen for the application.
Method Detail
addInstanceLifecycleListener
public void addInstanceLifecycleListener(InstanceLifecycleListener arg0, Class[] arg1)(Code)
Gives access to the adapter version metadata for the JDO.
The JDO adapter version.
getConnection
public Connection getConnection() throws ResourceException(Code)
Connection allocation is delegated to the ConnectionManager assigned to
this factory.
getConnection
public Connection getConnection(ConnectionSpec spec) throws ResourceException(Code)
Connection allocation is delegated to the ConnectionManager assigned to
this factory.
Parameters: spec - The connection is not taken into account within JDO.