net.sf.beanlib.reflect
Class Subclass

java.lang.Object
  extended by net.sf.beanlib.reflect.Subclass

public class Subclass
extends Object

Provides dynamic subclass instances similar to dynamic proxy of JDK.

Author:
Joe D. Velopar

Constructor Summary
private Subclass()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subclass

private Subclass()
Method Detail

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.