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