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 JarReaderjarReaderprivate AccessFactorystore-
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 JarReadergetJarReader()Get the mechanism to rad jar files.CompatibilitySpacegetLockSpace()Get the lock compatibility space to use for the transactional nature of the class loading lock.PersistentSetgetPersistentSet()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:ClassFactoryContextGet 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:
getLockSpacein classClassFactoryContext- Throws:
StandardException
-
getPersistentSet
public PersistentSet getPersistentSet() throws StandardException
Description copied from class:ClassFactoryContextGet the set of properties stored with this service.- Specified by:
getPersistentSetin classClassFactoryContext- Throws:
StandardException
-
getJarReader
public JarReader getJarReader()
Description copied from class:ClassFactoryContextGet the mechanism to rad jar files. The ClassFactory may keep the JarReader reference from the first class load.- Specified by:
getJarReaderin classClassFactoryContext
-
-