Class ComponentsEventsRegistry

java.lang.Object
io.fluentlenium.core.events.ComponentsEventsRegistry
All Implemented Interfaces:
ComponentsListener

public class ComponentsEventsRegistry extends Object implements ComponentsListener
Listen to components registration to register their events annotations couterparts.
  • Constructor Details

    • ComponentsEventsRegistry

      public ComponentsEventsRegistry (EventsRegistry registry, ComponentsAccessor componentsAccessor)
      Constructor
      Parameters:
      registry - events registry
      componentsAccessor - components accessor
  • Method Details

    • componentRegistered

      public void componentRegistered (org.openqa.selenium.WebElement element, Object component)
      Description copied from interface: ComponentsListener
      Invoked when a component has been registered.
      Specified by:
      componentRegistered in interface ComponentsListener
      Parameters:
      element - underlying element
      component - registered component
    • componentReleased

      public void componentReleased (org.openqa.selenium.WebElement element, Object component)
      Description copied from interface: ComponentsListener
      Invoked when a component has been released.
      Specified by:
      componentReleased in interface ComponentsListener
      Parameters:
      element - underlying element
      component - released component
    • close

      public void close()
      Close all registries.