org.omnaest.utils.proxy.handler
Class MethodInvocationHandlerDecoratorUnderlyingMapAware
java.lang.Object
org.omnaest.utils.proxy.handler.MethodInvocationHandlerDecorator
org.omnaest.utils.proxy.handler.MethodInvocationHandlerDecoratorUnderlyingMapAware
- All Implemented Interfaces:
- MethodInvocationHandler
public abstract class MethodInvocationHandlerDecoratorUnderlyingMapAware
- extends MethodInvocationHandlerDecorator
Decorator MethodInvocationHandler which captures a call for the UnderlyingMapAware.getUnderlyingMap() method
- Author:
- Omnaest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvocationHandlerDecoratorUnderlyingMapAware
public MethodInvocationHandlerDecoratorUnderlyingMapAware(MethodInvocationHandler methodInvocationHandler)
- Parameters:
methodInvocationHandler -
MethodInvocationHandlerDecoratorUnderlyingMapAware
public MethodInvocationHandlerDecoratorUnderlyingMapAware()
handle
public Object handle(MethodCallCapture methodCallCapture)
throws Throwable
- Description copied from interface:
MethodInvocationHandler
- Handles a method invocation.
- Returns:
-
- Throws:
Throwable- See Also:
MethodCallCapture
getUnderlyingMap
public abstract Map<?,?> getUnderlyingMap()
- Gets the underlying
Map
- Returns:
setUnderlyingMap
public abstract void setUnderlyingMap(Map<?,?> underlyingMap)
- Sets the underlying
Map
- Parameters:
underlyingMap -
Copyright © 2013. All Rights Reserved.