net.grinder.testutility
Class StubRelationshipsInvocationHandlerDecorator

java.lang.Object
  extended by net.grinder.testutility.StubRelationshipsInvocationHandlerDecorator
All Implemented Interfaces:
InvocationHandler

public final class StubRelationshipsInvocationHandlerDecorator
extends Object
implements InvocationHandler

InvocationHandler decorator that intercepts get methods and provides stubs generated by RandomStubFactorys. The same object is always returned for a given get method.

Currently unused.

Author:
Philip Aston

Constructor Summary
StubRelationshipsInvocationHandlerDecorator(InvocationHandler delegate)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StubRelationshipsInvocationHandlerDecorator

public StubRelationshipsInvocationHandlerDecorator(InvocationHandler delegate)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] parameters)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2000-2012. All Rights Reserved.