Package io.fluentlenium.core.proxy
Class AbstractLocatorAndInvocationHandler<T>
java.lang.Object
io.fluentlenium.core.proxy.AbstractLocatorHandler<T>
io.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 on
WebElement
.
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 io.fluentlenium.core.proxy.AbstractLocatorHandler
hookChainBuilder, hookDefinitions, hooks, locator, proxy, result
-
Constructor Summary
ConstructorDescriptionAbstractLocatorAndInvocationHandler
(org.openqa.selenium.support.pagefactory.ElementLocator locator) Creates a new locator handler. -
Method Summary
Methods inherited from class io.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 io.fluentlenium.core.proxy.LocatorHandler
getInvocationTarget, getMessageContext, noSuchElement, now
-
Constructor Details
-
AbstractLocatorAndInvocationHandler
public AbstractLocatorAndInvocationHandler(org.openqa.selenium.support.pagefactory.ElementLocator locator) Creates a new locator handler.- Parameters:
locator
- selenium element locator
-
-
Method Details