Class ContainerAnnotationsEventsRegistry


  • public class ContainerAnnotationsEventsRegistry
    extends java.lang.Object
    Register event annotations from a container in the events registry.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Release resources associated with this component event registrations.
      int getListenerCount()
      Number of listener associated with the underlying container.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContainerAnnotationsEventsRegistry

        public ContainerAnnotationsEventsRegistry​(EventsRegistry registry,
                                                  java.lang.Object container)
        Creates a new container annotations events registry.
        Parameters:
        registry - events registry
        container - container to register
      • ContainerAnnotationsEventsRegistry

        public ContainerAnnotationsEventsRegistry​(EventsRegistry registry,
                                                  java.lang.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.