Class ConsoleUtil

  • All Implemented Interfaces:
    javax.jcr.observation.EventListener

    @Deprecated
    public class ConsoleUtil
    extends java.lang.Object
    implements javax.jcr.observation.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​(javax.jcr.query.QueryManager queryManager, javax.jcr.observation.ObservationManager observationManger, java.lang.String[] searchPath)
      Deprecated.
      Construct a Tool with Query- and Observation-facility to gather list of cq:Console node types.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void dispose()
      Deprecated.
      java.util.Collection<Console> getPaths()
      Deprecated.
       
      void onEvent​(javax.jcr.observation.EventIterator eventIterator)
      Deprecated.
      Does nothing now.
      • Methods inherited from class java.lang.Object

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

      • ConsoleUtil

        public ConsoleUtil​(javax.jcr.query.QueryManager queryManager,
                           javax.jcr.observation.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​(javax.jcr.observation.EventIterator eventIterator)
        Deprecated.
        Does nothing now.
        Specified by:
        onEvent in interface javax.jcr.observation.EventListener