public class DefaultInvocationHandler extends Object implements WrapperInvocationHandler, Serializable
Constructor and Description |
---|
DefaultInvocationHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
getWrappedComponent()
Get the wrapped component.
|
void |
initialise(ComponentWrapper wrapper,
Class<?>[] wrappingInterfaces,
Object wrapped,
Class<?>[] wrappedInterfaces)
Initialise the invocation handler.
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public void initialise(ComponentWrapper wrapper, Class<?>[] wrappingInterfaces, Object wrapped, Class<?>[] wrappedInterfaces)
wrapper
- The wrapper. Handles invocations for wrapping
interfaces.wrappingInterfaces
- The wrapping interfaces.wrapped
- The component.wrappedInterfaces
- The component interfaces.public Object getWrappedComponent()
WrapperInvocationHandler
getWrappedComponent
in interface WrapperInvocationHandler