private class Augmenter.CompoundHandler
extends java.lang.Object
implements net.sf.cglib.proxy.MethodInterceptor
Modifier and Type | Field and Description |
---|---|
private RemoteWebDriver |
driver |
private java.util.Map<java.lang.reflect.Method,InterfaceImplementation> |
handlers |
private java.util.Set<java.lang.Class<?>> |
interfaces |
private java.lang.Object |
originalInstance |
Modifier | Constructor and Description |
---|---|
private |
CompoundHandler(RemoteWebDriver driver,
java.lang.Object originalInstance) |
Modifier and Type | Method and Description |
---|---|
void |
addCapabilityHander(java.lang.Class<?> fromInterface,
InterfaceImplementation handledBy) |
java.util.Set<java.lang.Class<?>> |
getInterfaces() |
java.lang.Object |
intercept(java.lang.Object self,
java.lang.reflect.Method method,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy) |
boolean |
isNeedingApplication() |
private java.util.Map<java.lang.reflect.Method,InterfaceImplementation> handlers
private java.util.Set<java.lang.Class<?>> interfaces
private final RemoteWebDriver driver
private final java.lang.Object originalInstance
private CompoundHandler(RemoteWebDriver driver, java.lang.Object originalInstance)
public void addCapabilityHander(java.lang.Class<?> fromInterface, InterfaceImplementation handledBy)
public java.util.Set<java.lang.Class<?>> getInterfaces()
public boolean isNeedingApplication()
public java.lang.Object intercept(java.lang.Object self, java.lang.reflect.Method method, java.lang.Object[] args, net.sf.cglib.proxy.MethodProxy methodProxy) throws java.lang.Throwable
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
java.lang.Throwable