net.spy.yamlmock
Class MapInvocationHandler
java.lang.Object
net.spy.yamlmock.MapInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
public class MapInvocationHandler
- extends Object
- implements InvocationHandler
Invocation handler that returns property access from a map.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapInvocationHandler
public MapInvocationHandler(Map<String,Object> m)
- Construct a MapInvocationHandler over the given map.
invoke
public Object invoke(Object o,
Method m,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2007 SPY Internetworking. All Rights Reserved.