Package io.fluentlenium.core.events
Class ContainerAnnotationsEventsRegistry
java.lang.Object
io.fluentlenium.core.events.ContainerAnnotationsEventsRegistry
Register event annotations from a container in the events registry.
-
Constructor Summary
ConstructorDescriptionContainerAnnotationsEventsRegistry
(EventsRegistry registry, Object container) Creates a new container annotations events registry.ContainerAnnotationsEventsRegistry
(EventsRegistry registry, Object container, org.openqa.selenium.WebElement targetElement) Creates a new container annotations events registry. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Release resources associated with this component event registrations.int
Number of listener associated with the underlying container.
-
Constructor Details
-
ContainerAnnotationsEventsRegistry
Creates a new container annotations events registry.- Parameters:
registry
- events registrycontainer
- container to register
-
ContainerAnnotationsEventsRegistry
public ContainerAnnotationsEventsRegistry(EventsRegistry registry, Object container, org.openqa.selenium.WebElement targetElement) Creates a new container annotations events registry.- Parameters:
registry
- events registrycontainer
- container to registertargetElement
- target element
-
-
Method Details
-
getListenerCount
public int getListenerCount()Number of listener associated with the underlying container.- Returns:
- number of listener
-
close
public void close()Release resources associated with this component event registrations.
-