public final class ClassSource extends ClassLoader
ClassLocator
which may initiate a remote lookupConstructor and Description |
---|
ClassSource(String classname,
byte[] bytecode,
ClassLoader parent,
ClassLocator classLocator) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
define() |
byte[] |
getBytecode() |
Class |
getClazz() |
protected Class<?> |
loadClass(String name,
boolean resolve) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public ClassSource(String classname, byte[] bytecode, ClassLoader parent, ClassLocator classLocator)
public Class<?> define()
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public byte[] getBytecode()
public Class getClazz()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.