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
-
Constructor Summary
ConstructorDescriptionComponentsEventsRegistry
(EventsRegistry registry, ComponentsAccessor componentsAccessor) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close all registries.void
componentRegistered
(org.openqa.selenium.WebElement element, Object component) Invoked when a component has been registered.void
componentReleased
(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:ComponentsListener
Invoked when a component has been registered.- Specified by:
componentRegistered
in interfaceComponentsListener
- Parameters:
element
- underlying elementcomponent
- registered component
-
componentReleased
Description copied from interface:ComponentsListener
Invoked when a component has been released.- Specified by:
componentReleased
in interfaceComponentsListener
- Parameters:
element
- underlying elementcomponent
- released component
-
close
public void close()Close all registries.
-