com.sun.enterprise.v3.server
Class AppLibClassLoaderServiceImpl
java.lang.Object
com.sun.enterprise.v3.server.AppLibClassLoaderServiceImpl
@Service
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class AppLibClassLoaderServiceImpl
- extends Object
This class is responsible for constructing class loader that has visibility
to deploy time libraries (--libraries and EXTENSION_LIST of MANIFEST.MF,
provided the library is available in 'applibs' directory) for an application.
It is different from CommonClassLoader in a sense that the libraries that are part of
common class loader are shared by all applications, where as this class
loader adds a scope to a library.
- Author:
- Sanjeeb.Sahoo@Sun.COM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppLibClassLoaderServiceImpl
public AppLibClassLoaderServiceImpl()
getAppLibClassLoader
public ClassLoader getAppLibClassLoader(String application,
List<URI> libURIs)
throws MalformedURLException
- Throws:
MalformedURLException- See Also:
org.glassfish.internal.api.ClassLoaderHierarchy#getAppLibClassLoader(String, List)
getAppLibClassFinder
public DelegatingClassLoader.ClassFinder getAppLibClassFinder(Collection<URI> libURIs)
throws MalformedURLException
- Throws:
MalformedURLException- See Also:
org.glassfish.internal.api.ClassLoaderHierarchy#getAppLibClassFinder(List)
Copyright © 2012. All Rights Reserved.