Package com.sun.enterprise.v3.server
Class AppLibClassLoaderServiceImpl
- java.lang.Object
-
- com.sun.enterprise.v3.server.AppLibClassLoaderServiceImpl
-
@Service @Singleton 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:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description AppLibClassLoaderServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelegatingClassLoader.ClassFinder
getAppLibClassFinder(Collection<URI> libURIs)
ClassLoader
getAppLibClassLoader(String application, List<URI> libURIs)
-
-
-
Method Detail
-
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
)
-
-