Documentation of 'org.apache.derby.iapi.services.loader.ClassFactoryContext' Java class
ClassFactoryContext
org.apache.derby.iapi.services.loader

Class ClassFactoryContext

  • All Implemented Interfaces:
    Context


    public abstract class ClassFactoryContext
    extends ContextImpl
    Context that provides the correct ClassFactory for the current service. Allows stateless code to obtain the correct class loading scheme.
    • Method Detail

      • getClassFactory

        public final ClassFactory getClassFactory()
      • getLockSpace

        public abstract CompatibilitySpace getLockSpace()
                                                 throws StandardException
        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.
        Throws:
        StandardException
      • getJarReader

        public abstract JarReader getJarReader()
        Get the mechanism to rad jar files. The ClassFactory may keep the JarReader reference from the first class load.
      • cleanupOnError

        public final void cleanupOnError(java.lang.Throwable error)
        Handle any errors. Only work here is to pop myself on a session or greater severity error.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.