@Service public class ClassLoaderHierarchyImpl extends Object implements org.glassfish.internal.api.ClassLoaderHierarchy
| Constructor and Description |
|---|
ClassLoaderHierarchyImpl() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
createApplicationParentCL(ClassLoader parent,
org.glassfish.api.deployment.DeploymentContext context)
Sets up the parent class loader for the application class loader.
|
ClassLoader |
getAPIClassLoader() |
org.glassfish.internal.api.DelegatingClassLoader.ClassFinder |
getAppLibClassFinder(List<URI> libURIs) |
ClassLoader |
getAppLibClassLoader(String application,
List<URI> libURIs) |
ClassLoader |
getCommonClassLoader() |
String |
getCommonClassPath() |
org.glassfish.internal.api.DelegatingClassLoader |
getConnectorClassLoader(String application) |
public ClassLoader getAPIClassLoader()
getAPIClassLoader in interface org.glassfish.internal.api.ClassLoaderHierarchypublic ClassLoader getCommonClassLoader()
getCommonClassLoader in interface org.glassfish.internal.api.ClassLoaderHierarchypublic String getCommonClassPath()
getCommonClassPath in interface org.glassfish.internal.api.ClassLoaderHierarchypublic org.glassfish.internal.api.DelegatingClassLoader getConnectorClassLoader(String application)
getConnectorClassLoader in interface org.glassfish.internal.api.ClassLoaderHierarchypublic ClassLoader getAppLibClassLoader(String application, List<URI> libURIs) throws MalformedURLException
getAppLibClassLoader in interface org.glassfish.internal.api.ClassLoaderHierarchyMalformedURLExceptionpublic org.glassfish.internal.api.DelegatingClassLoader.ClassFinder getAppLibClassFinder(List<URI> libURIs) throws MalformedURLException
getAppLibClassFinder in interface org.glassfish.internal.api.ClassLoaderHierarchyMalformedURLExceptionpublic ClassLoader createApplicationParentCL(ClassLoader parent, org.glassfish.api.deployment.DeploymentContext context) throws com.sun.enterprise.module.ResolveError
createApplicationParentCL in interface org.glassfish.internal.api.ClassLoaderHierarchyparent - the parent class loadercontext - deployment contextcom.sun.enterprise.module.ResolveError - if one of the deployer's public API module is not found.Copyright © 2013. All Rights Reserved.