public class ClassFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
allow(java.lang.String pattern)
Allow a class or package based on a pattern.
|
void |
deny(java.lang.String pattern)
Deny a class or package based on a pattern.
|
java.lang.Class<?> |
load(java.lang.String className) |
void |
setWhitelist(boolean isWhitelist) |
public java.lang.Class<?> load(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void setWhitelist(boolean isWhitelist)
public void allow(java.lang.String pattern)
public void deny(java.lang.String pattern)