ru.goodidea.df
Class LicenseClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
ru.goodidea.df.LicenseClassLoader
- Direct Known Subclasses:
- DocumentClassLoader
public class LicenseClassLoader
- extends java.net.URLClassLoader
- Author:
- Sergey Gorelkin
| Methods inherited from class java.net.URLClassLoader |
addURL, definePackage, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
| Methods inherited from class java.security.SecureClassLoader |
defineClass, defineClass |
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lloader
public static LicenseClassLoader lloader
LicenseClassLoader
public LicenseClassLoader(java.util.zip.ZipInputStream zip)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
LicenseClassLoader
public LicenseClassLoader(byte[] source)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
LicenseClassLoader
public LicenseClassLoader(byte[] source,
java.lang.ClassLoader parent)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
LicenseClassLoader
public LicenseClassLoader(java.io.File file)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
LicenseClassLoader
public LicenseClassLoader(java.lang.String path,
java.lang.ClassLoader parent)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
setSource
public void setSource(byte[] source)
findClass
protected java.lang.Class findClass(java.lang.String name)
throws java.lang.ClassNotFoundException
- Overrides:
findClass in class java.net.URLClassLoader
- Throws:
java.lang.ClassNotFoundException
getExpirationDate
public java.util.Date getExpirationDate()
loadClass
protected java.lang.Class loadClass(java.lang.String name,
boolean resolve)
throws java.lang.ClassNotFoundException
- Overrides:
loadClass in class java.lang.ClassLoader
- Throws:
java.lang.ClassNotFoundException
registerLoader
public void registerLoader(LoadClassData loader_)
getLoaders
public java.util.ArrayList getLoaders()
Copyright © 2009. All Rights Reserved.