| java.lang.Object java.lang.ClassLoader com.sun.portal.desktop.context.ProviderClassLoader
ProviderClassLoader | public class ProviderClassLoader extends ClassLoader (Code) | | The ProviderClassLoader is responsible for loading new or modified
provider classes.
|
findClass | public Class findClass(String className) throws ClassNotFoundException(Code) | | This method overriddes the findClass method in the parent. It is called
by the loadclass method of the parent - java.lang.ClassLoader.
The parent calls this method at step (3) in the following
list of steps:
(1) Call findLoadedClass(String) to check if the class has
already been loaded.
(2) Call the loadClass method on the parent class loader.
(3) Call the findClass(String) method to find the class.
Parameters: className - the class to load Class representing the loaded class exception: ClassNotFoundException - Throws Class Not Found exception |
findLocalClass | public byte[] findLocalClass(String className) throws IOException(Code) | | This method is responsible for finding the local class file and
returning its byte representation.
Parameters: className - the class to load byte[] representing the class bytes exception: IOException - Throws I/O exception |
findResource | protected URL findResource(String name)(Code) | | This method overrides the one in the the parent java.lang.ClassLoader
It is called to get the URL of a resources like property files
A URL object for reading the resource, ornull if the resource could not be found Parameters: name - Name of the resource that the classloader is doing the lookupfor. |
isProviderClassOutOfDate | public boolean isProviderClassOutOfDate(String theClassName)(Code) | | Checks if the provider class has been modified on the file system
true if the class has been modified since it was loaded |
notifyListeners | public synchronized void notifyListeners()(Code) | | |
Methods inherited from java.lang.ClassLoader | public synchronized void clearAssertionStatus()(Code)(Java Doc) final protected Class> defineClass(byte[] b, int off, int len) throws ClassFormatError(Code)(Java Doc) final protected Class> defineClass(String name, byte[] b, int off, int len) throws ClassFormatError(Code)(Java Doc) final protected Class> defineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain) throws ClassFormatError(Code)(Java Doc) final protected Class> defineClass(String name, java.nio.ByteBuffer b, ProtectionDomain protectionDomain) throws ClassFormatError(Code)(Java Doc) protected Package definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase) throws IllegalArgumentException(Code)(Java Doc) protected Class> findClass(String name) throws ClassNotFoundException(Code)(Java Doc) protected String findLibrary(String libname)(Code)(Java Doc) final protected Class> findLoadedClass(String name)(Code)(Java Doc) protected URL findResource(String name)(Code)(Java Doc) protected Enumeration<URL> findResources(String name) throws IOException(Code)(Java Doc) final protected Class> findSystemClass(String name) throws ClassNotFoundException(Code)(Java Doc) protected Package getPackage(String name)(Code)(Java Doc) protected Package[] getPackages()(Code)(Java Doc) final public ClassLoader getParent()(Code)(Java Doc) public URL getResource(String name)(Code)(Java Doc) public InputStream getResourceAsStream(String name)(Code)(Java Doc) public Enumeration<URL> getResources(String name) throws IOException(Code)(Java Doc) public static ClassLoader getSystemClassLoader()(Code)(Java Doc) public static URL getSystemResource(String name)(Code)(Java Doc) public static InputStream getSystemResourceAsStream(String name)(Code)(Java Doc) public static Enumeration<URL> getSystemResources(String name) throws IOException(Code)(Java Doc) public Class> loadClass(String name) throws ClassNotFoundException(Code)(Java Doc) protected synchronized Class> loadClass(String name, boolean resolve) throws ClassNotFoundException(Code)(Java Doc) final protected void resolveClass(Class> c)(Code)(Java Doc) public synchronized void setClassAssertionStatus(String className, boolean enabled)(Code)(Java Doc) public synchronized void setDefaultAssertionStatus(boolean enabled)(Code)(Java Doc) public synchronized void setPackageAssertionStatus(String packageName, boolean enabled)(Code)(Java Doc) final protected void setSigners(Class> c, Object[] signers)(Code)(Java Doc)
|
|
|