SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

com.solarmetric.kodo.impl.jdbc.runtime
Class PersistenceManagerConnector

java.lang.Object
  |
  +--com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector
        |
        +--com.solarmetric.kodo.impl.jdbc.runtime.PersistenceManagerConnector
All Implemented Interfaces:
Connector

public class PersistenceManagerConnector
extends DataSourceConnector

A Connector that uses a PersistencemanagerImpl's ConnectionFactory and its own authentication information to obtain a Connection.

Since:
2.4

Constructor Summary
PersistenceManagerConnector(PersistenceManagerImpl pm)
          Construct a Connector with the ConnectionFactory settings in the PersistenceManagerImpl.
PersistenceManagerConnector(PersistenceManagerImpl pm, boolean connectionFactory2)
          Construct a Connector with the ConnectionFactory settings in the PersistenceManagerImpl.
 
Methods inherited from class com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector
equals, getConnection, getDataSource, hashCode, toString
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceManagerConnector

public PersistenceManagerConnector(PersistenceManagerImpl pm)
Construct a Connector with the ConnectionFactory settings in the PersistenceManagerImpl.

PersistenceManagerConnector

public PersistenceManagerConnector(PersistenceManagerImpl pm,
                                   boolean connectionFactory2)
Construct a Connector with the ConnectionFactory settings in the PersistenceManagerImpl.
Parameters:
pm - the PersistenceManagerImpl to use
connectionFactory2 - if true, the ConnectionFactory2 (non-transaction) will be used to access the data store. Otherwise, the normal ConnectionFactory will be used.

SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.