org.oddjob.framework
Class ProxyGenerator<T>

java.lang.Object
  extended by org.oddjob.framework.ProxyGenerator<T>
Type Parameters:
T - The type of the component being wrapped.
Direct Known Subclasses:
CallableProxyGenerator, RunnableProxyGenerator, ServiceProxyGenerator

public class ProxyGenerator<T>
extends Object

Generates a Proxy for a wrapped component.

Author:
rob

Constructor Summary
ProxyGenerator()
           
 
Method Summary
 Object generate(T wrapped, WrapperFactory<T> wrapperFactory, ClassLoader classLoader)
           
static Class<?>[] interfacesFor(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyGenerator

public ProxyGenerator()
Method Detail

generate

public Object generate(T wrapped,
                       WrapperFactory<T> wrapperFactory,
                       ClassLoader classLoader)

interfacesFor

public static Class<?>[] interfacesFor(Object object)