org.omnaest.utils.proxy.handler
Class MethodInvocationHandlerDecoratorUnderlyingMapAware

java.lang.Object
  extended by org.omnaest.utils.proxy.handler.MethodInvocationHandlerDecorator
      extended by 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

Field Summary
 
Fields inherited from class org.omnaest.utils.proxy.handler.MethodInvocationHandlerDecorator
methodInvocationHandler
 
Constructor Summary
MethodInvocationHandlerDecoratorUnderlyingMapAware()
           
MethodInvocationHandlerDecoratorUnderlyingMapAware(MethodInvocationHandler methodInvocationHandler)
           
 
Method Summary
abstract  Map<?,?> getUnderlyingMap()
          Gets the underlying Map
 Object handle(MethodCallCapture methodCallCapture)
          Handles a method invocation.
abstract  void setUnderlyingMap(Map<?,?> underlyingMap)
          Sets the underlying Map
 
Methods inherited from class org.omnaest.utils.proxy.handler.MethodInvocationHandlerDecorator
setMethodInvocationHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInvocationHandlerDecoratorUnderlyingMapAware

public MethodInvocationHandlerDecoratorUnderlyingMapAware(MethodInvocationHandler methodInvocationHandler)
Parameters:
methodInvocationHandler -

MethodInvocationHandlerDecoratorUnderlyingMapAware

public MethodInvocationHandlerDecoratorUnderlyingMapAware()
Method Detail

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.