Package io.fluentlenium.core.events
Class ComponentsEventsRegistry
java.lang.Object
io.fluentlenium.core.events.ComponentsEventsRegistry
- All Implemented Interfaces:
ComponentsListener
Listen to components registration to register their events annotations couterparts.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionComponentsEventsRegistry(EventsRegistry registry, ComponentsAccessor componentsAccessor) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close all registries.voidcomponentRegistered(org.openqa.selenium.WebElement element, Object component) Invoked when a component has been registered.voidcomponentReleased(org.openqa.selenium.WebElement element, Object component) Invoked when a component has been released.
-
Constructor Details
-
ComponentsEventsRegistry
Constructor- Parameters:
registry- events registrycomponentsAccessor- components accessor
-
-
Method Details
-
componentRegistered
Description copied from interface:ComponentsListenerInvoked when a component has been registered.- Specified by:
componentRegisteredin interfaceComponentsListener- Parameters:
element- underlying elementcomponent- registered component
-
componentReleased
Description copied from interface:ComponentsListenerInvoked when a component has been released.- Specified by:
componentReleasedin interfaceComponentsListener- Parameters:
element- underlying elementcomponent- released component
-
close
public void close()Close all registries.
-