Package org.fluentlenium.core.proxy
Class AbstractLocatorAndInvocationHandler<T>
- java.lang.Object
-
- org.fluentlenium.core.proxy.AbstractLocatorHandler<T>
-
- org.fluentlenium.core.proxy.AbstractLocatorAndInvocationHandler<T>
-
- Type Parameters:
T
- type of underlying element or component
- All Implemented Interfaces:
InvocationHandler
,LocatorHandler<T>
,LocatorStatusHandler
- Direct Known Subclasses:
ComponentHandler
,ListHandler
public abstract class AbstractLocatorAndInvocationHandler<T> extends AbstractLocatorHandler<T> implements InvocationHandler
Abstract proxy handler supporting lazy loading and hooks onWebElement
.This class handles the actual method invocation on the proxy.
If you want to create your own custom component handler, this is the class that must be extended.
-
-
Field Summary
-
Fields inherited from class org.fluentlenium.core.proxy.AbstractLocatorHandler
hookChainBuilder, hookDefinitions, hooks, locator, proxy, result
-
-
Constructor Summary
Constructors Constructor Description AbstractLocatorAndInvocationHandler(org.openqa.selenium.support.pagefactory.ElementLocator locator)
Creates a new locator handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
Object
invoke(Object proxy, Method method, Object[] args)
String
toString()
-
Methods inherited from class org.fluentlenium.core.proxy.AbstractLocatorHandler
addListener, fireProxyElementFound, fireProxyElementSearch, getElement, getHookLocator, getLazyToString, getLocator, getLocatorResult, getLocatorResultImpl, isStale, loaded, present, proxyToString, removeListener, reset, resultToList, setHooks, setProxy
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.fluentlenium.core.proxy.LocatorHandler
getInvocationTarget, getMessageContext, noSuchElement, now
-
-