com.caucho.loader.module
Class ArtifactClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by com.caucho.loader.DynamicClassLoader
                  extended by com.caucho.loader.EnvironmentClassLoader
                      extended by com.caucho.loader.module.ArtifactClassLoader
All Implemented Interfaces:
Make, DynamicClassLoaderMXBean, Dependency

public class ArtifactClassLoader
extends EnvironmentClassLoader

ClassLoader for an artifact.


Method Summary
protected  void buildClassPathImpl(java.util.ArrayList<java.lang.String> cp)
           
protected  java.lang.Class findImportClass(java.lang.String name)
          Returns any import class, e.g.
 
Methods inherited from class com.caucho.loader.EnvironmentClassLoader
addListener, addLoaderListener, addScanListener, addScanPackage, addScanRoot, addURL, applyVisibleModules, buildImportClassPath, configureEnhancerEvent, configurePostEnhancerEvent, create, create, create, create, createArtifactManager, destroy, getAdmin, getArtifactManager, getAttribute, getConfigException, getEnvironmentListeners, getHash, getImportResource, getLoaderListeners, getOwner, getResource, getResourceAlias, getResourceAsStream, init, initEnvironment, isActive, putIfAbsent, putResourceAlias, removeAttribute, removeListener, scan, setAttribute, setConfigException, setOwner, start, stop, toString, validate
 
Methods inherited from class com.caucho.loader.DynamicClassLoader
addCodeBasePath, addDependency, addJar, addJarManifestClassPath, addListener, addLoader, addLoader, addManifestClassPath, addNative, addParentPriorityPackage, addParentPriorityPackages, addPathClass, addPermission, addPermission, addPermissions, addPriorityPackage, addRoot, addTransformer, addURL, addURL, appendToClassPathForInstrumentation, buildClassPath, buildResourcePathSpecificFirst, buildSourcePath, clearModified, containsURL, containsURL, definePackage, findClass, findClassImpl, findLibrary, findPath, findResources, getClassEntry, getClassPath, getDependencyCheckInterval, getGlobalDependencyCheckInterval, getHash, getHashCrc, getId, getInstrumentableClassLoader, getListeners, getLoaders, getLocalClassPath, getNewTempClassLoader, getPermissions, getPermissions, getResourcePathSpecificFirst, getResources, getSourcePath, getThrowawayClassLoader, getTransformerList, getURLs, isDestroyed, isDirectoryLoader, isJarCacheEnabled, isJarCacheEnabledDefault, isModified, isModified, isModified, isModifiedNow, loadClass, loadClass, loadClass, loadClassEntry, loadClassImpl, logModified, make, removeListener, removeLoader, replace, resetDependencyCheckInterval, sendAddLoaderEvent, setDependencyCheckInterval, setEnableDependencyCheck, setGlobalDependencyCheckInterval, setId, setJarCacheEnabled, setOldLoader, setServletHack, toClassPath
 
Methods inherited from class java.net.URLClassLoader
definePackage, findResource, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

findImportClass

protected java.lang.Class findImportClass(java.lang.String name)
Returns any import class, e.g. from an artifact

Overrides:
findImportClass in class EnvironmentClassLoader

buildClassPathImpl

protected void buildClassPathImpl(java.util.ArrayList<java.lang.String> cp)