Class ContainerAnnotationsEventsRegistry


  • public class ContainerAnnotationsEventsRegistry
    extends Object
    Register event annotations from a container in the events registry.
    • Constructor Detail

      • ContainerAnnotationsEventsRegistry

        public ContainerAnnotationsEventsRegistry​(EventsRegistry registry,
                                                  Object container)
        Creates a new container annotations events registry.
        Parameters:
        registry - events registry
        container - 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 registry
        container - container to register
        targetElement - target element
    • Method Detail

      • 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.