T
- The type of the component to be wrapped.public interface WrapperFactory<T>
Modifier and Type | Method and Description |
---|---|
ComponentWrapper |
wrapperFor(T wrapped,
java.lang.Object proxy)
Create a wrapper.
|
java.lang.Class<?>[] |
wrappingInterfacesFor(T wrapped)
Get the Interfaces the wrapper adds to the component.
|
java.lang.Class<?>[] wrappingInterfacesFor(T wrapped)
wrapped
- The component to be wrapped.ComponentWrapper wrapperFor(T wrapped, java.lang.Object proxy)
wrapped
- The component to be wrapped.proxy
- The dynamic proxy.