org.exolab.castor.jdo.engine
Class LocalDatabaseImpl
- Database
public class LocalDatabaseImpl
An implementation of the JDO Database
interface supporting explicit local
transaction demarcation.
$Revision: 7112 $ $Date: 2006-04-10 16:39:24 -0600 (Mon, 10 Apr 2006) $
begin , close , commit , create , getCacheManager , getClassLoader , getCurrentTransaction , getDatabaseName , getIdentity , getJdbcConnection , getLockEngine , getNamedQuery , getOQLQuery , getOQLQuery , getQuery , getScope , getTransaction , isActive , isAutoStore , isClosed , isLocked , isPersistent , load , load , load , loadSynchronizables , lock , registerSynchronizables , remove , rollback , setAutoStore , toString , unregisterSynchronizables , update |
LocalDatabaseImpl
public LocalDatabaseImpl(String dbName,
int lockTimeout,
CallbackInterceptor callback,
InstanceFactory instanceFactory,
ClassLoader classLoader,
boolean autoStore)
throws DatabaseNotFoundException
Creates an instance of this class.
dbName
- database namelockTimeout
- Lock timeoutcallback
- Callback interceptorinstanceFactory
- Instance factory.classLoader
- Current class loaderautoStore
- Indicates whetehr to use 'auto-storing'
finalize
protected void finalize()
throws Throwable
Overrides Object.finalize().
Outputs a warning message to the logs if the current DatabaseImpl
instance still has valid scope. In this condition - a condition that
ideally should not occur at all - we close the instance as well to
free up resources.
java.lang.Object.finalize()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com