|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
java.lang.ClassLoader
oracle.ldap.util.JARClassLoader
public class JARClassLoader
Custom class loader load the class from the jar file, which was stored in the directory as a byte array
| Constructor Summary | |
|---|---|
JARClassLoader(byte[] jarContents)Creates a custom class loader that makes objects from the jarContents |
|
JARClassLoader(byte[][] jarContents, java.lang.ClassLoader parentClLoader)Creates a custom class loader that makes objects from array of jarContents |
|
JARClassLoader(byte[] jarContents, java.lang.ClassLoader parentClLoader)Creates a custom class loader that makes objects from the jarContents |
|
| Method Summary | |
|---|---|
protected java.lang.Class |
findClass(java.lang.String name)Locates the class |
protected java.net.URL |
findResource(java.lang.String name)This method willl always return null as the implementation is undefined. |
java.net.URL |
getResource(java.lang.String name)This method willl always return null as the implementation is undefined. |
java.io.InputStream |
getResourceAsStream(java.lang.String name)Get the resource with the given name as an InputStream |
| Methods inherited from class java.lang.ClassLoader |
|---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResources, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JARClassLoader(byte[][] jarContents,
java.lang.ClassLoader parentClLoader)
throws java.io.IOException
java.io.IOException
public JARClassLoader(byte[] jarContents,
java.lang.ClassLoader parentClLoader)
throws java.io.IOException
java.io.IOException
public JARClassLoader(byte[] jarContents)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
protected java.lang.Class findClass(java.lang.String name)
throws java.lang.ClassNotFoundException
findClass in class java.lang.ClassLoaderjava.lang.ClassNotFoundExceptionprotected java.net.URL findResource(java.lang.String name)
findResource in class java.lang.ClassLoaderpublic java.net.URL getResource(java.lang.String name)
getResource in class java.lang.ClassLoaderpublic java.io.InputStream getResourceAsStream(java.lang.String name)
getResourceAsStream in class java.lang.ClassLoaderresource - name
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||