Package com.day.cq.commons
Class ConsoleUtil
- java.lang.Object
-
- com.day.cq.commons.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.
-
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(EventIterator eventIterator)
Deprecated.Does nothing now.
-
-
-
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 anymoredispose()
should be called.- Parameters:
queryManager
- to search for consolesobservationManger
- - this is not used anymoresearchPath
- 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 interfaceEventListener
- Parameters:
eventIterator
- The event set received.
-
-