org.apache.derby.impl.db
Class StoreClassFactoryContext

java.lang.Object
  extended by org.apache.derby.iapi.services.context.ContextImpl
      extended by org.apache.derby.iapi.services.loader.ClassFactoryContext
          extended by org.apache.derby.impl.db.StoreClassFactoryContext
All Implemented Interfaces:
Context

final class StoreClassFactoryContext
extends ClassFactoryContext


Field Summary
private  JarReader jarReader
           
private  AccessFactory store
           
 
Fields inherited from class org.apache.derby.iapi.services.loader.ClassFactoryContext
CONTEXT_ID
 
Constructor Summary
StoreClassFactoryContext(ContextManager cm, ClassFactory cf, AccessFactory store, JarReader jarReader)
           
 
Method Summary
 JarReader getJarReader()
          Get the mechanism to rad jar files.
 CompatibilitySpace getLockSpace()
          Get the lock compatibility space to use for the transactional nature of the class loading lock.
 PersistentSet getPersistentSet()
          Get the set of properties stored with this service.
 
Methods inherited from class org.apache.derby.iapi.services.loader.ClassFactoryContext
cleanupOnError, getClassFactory
 
Methods inherited from class org.apache.derby.iapi.services.context.ContextImpl
appendErrorInfo, getContextManager, getIdName, isLastHandler, popMe, pushMe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

store

private final AccessFactory store

jarReader

private final JarReader jarReader
Constructor Detail

StoreClassFactoryContext

StoreClassFactoryContext(ContextManager cm,
                         ClassFactory cf,
                         AccessFactory store,
                         JarReader jarReader)
Method Detail

getLockSpace

public CompatibilitySpace getLockSpace()
                                throws StandardException
Description copied from class: ClassFactoryContext
Get the lock compatibility space to use for the transactional nature of the class loading lock. Used when the classpath changes or a database jar file is installed, removed or replaced.

Specified by:
getLockSpace in class ClassFactoryContext
Throws:
StandardException

getPersistentSet

public PersistentSet getPersistentSet()
                               throws StandardException
Description copied from class: ClassFactoryContext
Get the set of properties stored with this service.

Specified by:
getPersistentSet in class ClassFactoryContext
Throws:
StandardException

getJarReader

public JarReader getJarReader()
Description copied from class: ClassFactoryContext
Get the mechanism to rad jar files. The ClassFactory may keep the JarReader reference from the first class load.

Specified by:
getJarReader in class ClassFactoryContext

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.