T
- The type of the component being wrapped.public class ProxyGenerator<T> extends Object
WrapperFactory
.
If the wrapped component is an instance of an ComponentAdapter
the
underlying component interface will be used instead.
Constructor and Description |
---|
ProxyGenerator() |
Modifier and Type | Method and Description |
---|---|
Object |
generate(T wrapped,
WrapperFactory<T> wrapperFactory,
ClassLoader classLoader)
Generate the proxy.
|
static Class<?>[] |
interfacesFor(Object object)
Find all the interfaces an object implements.
|
public Object generate(T wrapped, WrapperFactory<T> wrapperFactory, ClassLoader classLoader)
wrapped
- The component being wrapped.wrapperFactory
- classLoader
-