Class ConsoleUtil

  • All Implemented Interfaces:
    EventListener

    @Deprecated
    public class ConsoleUtil
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      ConsoleUtil​(QueryManager queryManager, ObservationManager observationManger, java.lang.String[] searchPath)
      Deprecated.
      Construct a Tool with Query- and Observation-facility to gather list of cq:Console node types.
    • Constructor Detail

      • ConsoleUtil

        public ConsoleUtil​(QueryManager queryManager,
                           ObservationManager observationManger,
                           java.lang.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 Detail

      • dispose

        @Deprecated
        public void dispose()
        Deprecated.
      • getPaths

        public java.util.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.