Package com.tangosol.coherence.rest.util
Class PartialObject.PartialClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- com.tangosol.coherence.rest.util.PartialObject.PartialClassLoader
-
- Enclosing class:
- PartialObject
protected static class PartialObject.PartialClassLoader extends ClassLoader
Class loader implementation that is used to define and load partial classes.
-
-
Constructor Summary
Constructors Constructor Description PartialClassLoader(ClassLoader parentLoader)
Construct PartialClassLoader instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
defineClass(String sName, byte[] ab)
Define a class.protected Package
getPackage(String name)
protected Package[]
getPackages()
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Constructor Detail
-
PartialClassLoader
public PartialClassLoader(ClassLoader parentLoader)
Construct PartialClassLoader instance.
-
-
Method Detail
-
defineClass
public Class defineClass(String sName, byte[] ab)
Define a class.- Parameters:
sName
- class nameab
- raw class definition- Returns:
- defined class
-
getPackage
protected Package getPackage(String name)
- Overrides:
getPackage
in classClassLoader
-
getPackages
protected Package[] getPackages()
- Overrides:
getPackages
in classClassLoader
-
-