Package org.apache.derby.impl.db
Class StoreClassFactoryContext
- java.lang.Object
-
- org.apache.derby.iapi.services.context.ContextImpl
-
- org.apache.derby.iapi.services.loader.ClassFactoryContext
-
- org.apache.derby.impl.db.StoreClassFactoryContext
-
- All Implemented Interfaces:
Context
final class StoreClassFactoryContext extends ClassFactoryContext
-
-
Field Summary
Fields Modifier and Type Field Description private JarReader
jarReader
private AccessFactory
store
-
Fields inherited from class org.apache.derby.iapi.services.loader.ClassFactoryContext
CONTEXT_ID
-
-
Constructor Summary
Constructors Constructor Description StoreClassFactoryContext(ContextManager cm, ClassFactory cf, AccessFactory store, JarReader jarReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 classClassFactoryContext
- 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 classClassFactoryContext
- 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 classClassFactoryContext
-
-