org.nuiton.wikitty.publication.externalize
Class WikittyPublicationClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.nuiton.wikitty.publication.externalize.WikittyPublicationClassLoader
public class WikittyPublicationClassLoader
- extends URLClassLoader
A simple classloader extension to allow adding java class with bytecode
- Author:
- mfortun
|
Method Summary |
Class<?> |
addClass(String name,
byte[] b)
use to add a class inside the class path from bytecode |
| 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, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikittyPublicationClassLoader
public WikittyPublicationClassLoader(URL[] urls)
addClass
public Class<?> addClass(String name,
byte[] b)
- use to add a class inside the class path from bytecode
- Parameters:
name - the name of the classb - the bytecode of the class
- Returns:
- the class loaded
Copyright © 2010-2011 CodeLutin. All Rights Reserved.