net.sf.beanlib.reflect
Class Subclass
java.lang.Object
net.sf.beanlib.reflect.Subclass
public class Subclass
- extends Object
Provides dynamic subclass instances similar to dynamic proxy of JDK.
- Author:
- Joe D. Velopar
Method Summary |
static
|
newInstance(Class<T> superClass,
MethodInterceptor interceptor)
Returns a subclass instance of the given super class, with every method intercepted by the
given interceptor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Subclass
private Subclass()
newInstance
public static <T> T newInstance(Class<T> superClass,
MethodInterceptor interceptor)
- Returns a subclass instance of the given super class, with every method intercepted by the
given interceptor.