Top Fields Constructors Methods
org.apache.derby.impl.db

pack-priv final Class StoreClassFactoryContext

extends ClassFactoryContext
Class Inheritance
Imports
org.apache.derby.iapi.services.loader.ClassFactoryContext, .ClassFactory, .JarReader, org.apache.derby.iapi.services.locks.CompatibilitySpace, org.apache.derby.iapi.services.property.PersistentSet, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.store.access.AccessFactory, org.apache.derby.iapi.services.context.ContextManager

Field Summary

Modifier and TypeField and Description
private final JarReader
private final AccessFactory
Inherited from org.apache.derby.iapi.services.loader.ClassFactoryContext:
CONTEXT_ID

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public JarReader
getJarReader()

Implements abstract org.apache.derby.iapi.services.loader.ClassFactoryContext.getJarReader.

Get the mechanism to rad jar files.

public CompatibilitySpace
getLockSpace()

Implements abstract org.apache.derby.iapi.services.loader.ClassFactoryContext.getLockSpace.

Get the lock compatibility space to use for the transactional nature of the class loading lock.

public PersistentSet
getPersistentSet()

Implements abstract org.apache.derby.iapi.services.loader.ClassFactoryContext.getPersistentSet.

Get the set of properties stored with this service.

Inherited from org.apache.derby.iapi.services.loader.ClassFactoryContext:
cleanupOnErrorgetClassFactory

Field Detail

jarReaderback to summary
private final JarReader jarReader
storeback to summary
private final AccessFactory store

Constructor Detail

StoreClassFactoryContextback to summary
pack-priv StoreClassFactoryContext(ContextManager cm, ClassFactory cf, AccessFactory store, JarReader jarReader)

Method Detail

getJarReaderback to summary
public JarReader getJarReader()

Implements abstract org.apache.derby.iapi.services.loader.ClassFactoryContext.getJarReader.

Doc from org.apache.derby.iapi.services.loader.ClassFactoryContext.getJarReader.

Get the mechanism to rad jar files. The ClassFactory may keep the JarReader reference from the first class load.

Returns:JarReader

the jar file reader

getLockSpaceback to summary
public CompatibilitySpace getLockSpace() throws StandardException

Implements abstract org.apache.derby.iapi.services.loader.ClassFactoryContext.getLockSpace.

Doc from org.apache.derby.iapi.services.loader.ClassFactoryContext.getLockSpace.

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.

Returns:CompatibilitySpace

the lock compatibility space

Exceptions
StandardException:
on error
getPersistentSetback to summary
public PersistentSet getPersistentSet() throws StandardException

Implements abstract org.apache.derby.iapi.services.loader.ClassFactoryContext.getPersistentSet.

Doc from org.apache.derby.iapi.services.loader.ClassFactoryContext.getPersistentSet.

Get the set of properties stored with this service.

Returns:PersistentSet

the set of properties stored with this service

Exceptions
StandardException:
on error