org.omnaest.utils.proxy.handler
Class MethodInvocationHandlerDecoratorToString
java.lang.Object
org.omnaest.utils.proxy.handler.MethodInvocationHandlerDecorator
org.omnaest.utils.proxy.handler.MethodInvocationHandlerDecoratorToString
- All Implemented Interfaces:
- MethodInvocationHandler
public abstract class MethodInvocationHandlerDecoratorToString
- extends MethodInvocationHandlerDecorator
Decorator MethodInvocationHandler which captures a call for the Object.toString() method and forwards all other
invocations.
- Author:
- Omnaest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvocationHandlerDecoratorToString
public MethodInvocationHandlerDecoratorToString(MethodInvocationHandler methodInvocationHandler)
- Parameters:
methodInvocationHandler -
MethodInvocationHandlerDecoratorToString
public MethodInvocationHandlerDecoratorToString()
handle
public Object handle(MethodCallCapture methodCallCapture)
throws Throwable
- Description copied from interface:
MethodInvocationHandler
- Handles a method invocation.
- Returns:
-
- Throws:
Throwable- See Also:
MethodCallCapture
handleToString
public abstract String handleToString()
- Handles the invocation of the
Object.toString() method
- Returns:
Copyright © 2013. All Rights Reserved.