Class ConsoleUtil

java.lang.Object
com.day.cq.commons.ConsoleUtil
All Implemented Interfaces:
EventListener

@Deprecated public class ConsoleUtil extends Object implements EventListener
Deprecated.
Small tool to gather all consoles once. If consoles list need to be refreshed you need to create new instance of ConsoleUtil
  • Constructor Details

    • ConsoleUtil

      public ConsoleUtil(QueryManager queryManager, ObservationManager observationManger, String[] searchPath)
      Deprecated.
      Construct a Tool with Query- and Observation-facility to gather list of cq:Console node types. If this object is not needed anymore dispose() should be called.
      Parameters:
      queryManager - to search for consoles
      observationManger - - this is not used anymore
      searchPath - resolvers search path to limit search
  • Method Details

    • dispose

      @Deprecated public void dispose()
      Deprecated.
    • getPaths

      public Collection<Console> getPaths()
      Deprecated.
      Returns:
      access the list of paths known to the repository
    • onEvent

      public void onEvent(EventIterator eventIterator)
      Deprecated.
      Does nothing now.
      Specified by:
      onEvent in interface EventListener
      Parameters:
      eventIterator - The event set received.