Class ConnectorRARClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- java.security.SecureClassLoader
-
- com.sun.enterprise.connectors.util.ConnectorRARClassLoader
-
public class ConnectorRARClassLoader extends SecureClassLoader
ConnectorRARClassLoader finds classes and resources from a JAR file without exploding it. This uses the JarResourceExtractor for finding classes and resources inside the archive This classloader is _used_ only by the admin GUI to retrieve resource adapter class properties without exploding the connector archive.- Author:
- Sivakumar Thyagarajan
-
-
Constructor Summary
Constructors Constructor Description ConnectorRARClassLoader(String jarName, ClassLoader parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
findClass(String name)
String
getResourceAsString(String raDeploymentDescPath)
protected byte[]
loadClassBytes(String className)
-
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass, getPermissions
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Constructor Detail
-
ConnectorRARClassLoader
public ConnectorRARClassLoader(String jarName, ClassLoader parent)
-
-
Method Detail
-
loadClassBytes
protected byte[] loadClassBytes(String className)
-
findClass
public Class findClass(String name) throws ClassNotFoundException
- Overrides:
findClass
in classClassLoader
- Throws:
ClassNotFoundException
-
-