net.sf.doolin.bus.cglib
Class BeanProxyFactory

java.lang.Object
  extended by net.sf.doolin.bus.cglib.BeanProxyFactory

public class BeanProxyFactory
extends Object


Constructor Summary
BeanProxyFactory()
           
 
Method Summary
static
<T> T
create(Class<T> type)
          Creates a proxy from a class, by using a default constructor and annotations on the method.
static
<T> T
proxy(T instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanProxyFactory

public BeanProxyFactory()
Method Detail

create

public static <T> T create(Class<T> type)
Creates a proxy from a class, by using a default constructor and annotations on the method. Calling create(MyType.class) is equivalent to call proxy(new MyType(), BeanProxyDetection.ANNOTATION).


proxy

public static <T> T proxy(T instance)


Copyright © 2011. All Rights Reserved.