com.atlassian.selenium
Class MultiBrowserSeleniumClientInvocationHandler

java.lang.Object
  extended by com.atlassian.selenium.MultiBrowserSeleniumClientInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class MultiBrowserSeleniumClientInvocationHandler
extends Object
implements InvocationHandler


Constructor Summary
MultiBrowserSeleniumClientInvocationHandler(List<SeleniumConfiguration> configs, long maxWait, boolean verifyReturnValues, boolean parallel)
           
 
Method Summary
protected  SeleniumReturnValueMismatch createValueMismatchException(SeleniumClient c1, Object h1, SeleniumClient c2, Object h2)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 void verifyReturnValues(List<Future<Object>> futures)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiBrowserSeleniumClientInvocationHandler

public MultiBrowserSeleniumClientInvocationHandler(List<SeleniumConfiguration> configs,
                                                   long maxWait,
                                                   boolean verifyReturnValues,
                                                   boolean parallel)
Method Detail

invoke

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

verifyReturnValues

public void verifyReturnValues(List<Future<Object>> futures)
                        throws Throwable
Throws:
Throwable

createValueMismatchException

protected SeleniumReturnValueMismatch createValueMismatchException(SeleniumClient c1,
                                                                   Object h1,
                                                                   SeleniumClient c2,
                                                                   Object h2)


Copyright © 2010 Atlassian Pty Ltd. All Rights Reserved.