WorkspaceEventListenerRegistration
instead@Deprecated public class ObservationUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ObservationUtil.DeferringEventListener
Deprecated.
since 5.4.6 use
DeferringEventListener instead |
static class |
ObservationUtil.ListBasedEventIterator
Deprecated.
since 5.4.6 use
DeferringEventListener.ListBasedEventIterator instead |
static class |
ObservationUtil.ObservationBasedDelayedExecutor
Deprecated.
since 5.4.6 use
DeferringEventListener.ObservationBasedDelayedExecutor instead |
Constructor and Description |
---|
ObservationUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
dispose(String workspace)
Deprecated.
since 5.4.6 without replacement
|
static javax.jcr.observation.EventListener |
instanciateDeferredEventListener(javax.jcr.observation.EventListener listener,
long delay,
long maxDelay)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerChangeListener(String workspace,
String observationPath,
boolean includeSubnodes,
javax.jcr.observation.EventListener listener)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerChangeListener(String workspace,
String observationPath,
boolean includeSubnodes,
String[] nodeTypes,
javax.jcr.observation.EventListener listener)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerChangeListener(String workspace,
String observationPath,
boolean includeSubnodes,
String[] nodeTypes,
int eventTypesMask,
javax.jcr.observation.EventListener listener)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerChangeListener(String workspace,
String observationPath,
boolean includeSubnodes,
String nodeType,
javax.jcr.observation.EventListener listener)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerChangeListener(String workspace,
String observationPath,
boolean includeSubnodes,
String nodeType,
int eventTypesMask,
javax.jcr.observation.EventListener listener)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerChangeListener(String workspace,
String observationPath,
javax.jcr.observation.EventListener listener)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerDeferredChangeListener(String workspace,
String observationPath,
boolean includeSubnodes,
javax.jcr.observation.EventListener listener,
long delay,
long maxDelay)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerDeferredChangeListener(String workspace,
String observationPath,
boolean includeSubnodes,
String[] nodeTypes,
javax.jcr.observation.EventListener listener,
long delay,
long maxDelay)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerDeferredChangeListener(String workspace,
String observationPath,
boolean includeSubnodes,
String nodeType,
javax.jcr.observation.EventListener listener,
long delay,
long maxDelay)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
registerDeferredChangeListener(String workspace,
String observationPath,
javax.jcr.observation.EventListener listener,
long delay,
long maxDelay)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Registrar instead to register listeners |
static void |
unregisterChangeListener(String workspace,
javax.jcr.observation.EventListener listener)
Deprecated.
since 5.4.6 use
WorkspaceEventListenerRegistration.Handle.unregister() to unregister listeners |
@Deprecated public static void dispose(String workspace)
@Deprecated public static void registerChangeListener(String workspace, String observationPath, javax.jcr.observation.EventListener listener)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static void registerChangeListener(String workspace, String observationPath, boolean includeSubnodes, javax.jcr.observation.EventListener listener)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static void registerChangeListener(String workspace, String observationPath, boolean includeSubnodes, String nodeType, javax.jcr.observation.EventListener listener)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static void registerChangeListener(String workspace, String observationPath, boolean includeSubnodes, String nodeType, int eventTypesMask, javax.jcr.observation.EventListener listener)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static void registerChangeListener(String workspace, String observationPath, boolean includeSubnodes, String[] nodeTypes, javax.jcr.observation.EventListener listener)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static void registerChangeListener(String workspace, String observationPath, boolean includeSubnodes, String[] nodeTypes, int eventTypesMask, javax.jcr.observation.EventListener listener)
WorkspaceEventListenerRegistration.Registrar
instead to register listenersBe careful that if you observe "/", events may be generated for jcr:system, which is "shared" across all workspaces.
Use FilteredEventListener
and JCR_SYSTEM_EXCLUDING_PREDICATE
wherever appropriate.
Finally, consider using ObservationManager
directly,
as ObservationUtil
may become mostly deprecated in the near future.
observationPath
- the absPath parameter of ObservationManager.addEventListener(javax.jcr.observation.EventListener, int, java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean)
includeSubnodes
- the isDeep parameter of ObservationManager.addEventListener(javax.jcr.observation.EventListener, int, java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean)
nodeTypes
- the nodeTypeName parameter of ObservationManager.addEventListener(javax.jcr.observation.EventListener, int, java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean)
eventTypesMask
- the eventTypes parameter of ObservationManager.addEventListener(javax.jcr.observation.EventListener, int, java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean)
listener
- the listener parameter of ObservationManager.addEventListener(javax.jcr.observation.EventListener, int, java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean)
ObservationManager.addEventListener(EventListener, int, String, boolean, String[], String[], boolean)
,
Event
,
FilteredEventListener
@Deprecated public static void registerDeferredChangeListener(String workspace, String observationPath, javax.jcr.observation.EventListener listener, long delay, long maxDelay)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static void registerDeferredChangeListener(String workspace, String observationPath, boolean includeSubnodes, javax.jcr.observation.EventListener listener, long delay, long maxDelay)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static void registerDeferredChangeListener(String workspace, String observationPath, boolean includeSubnodes, String nodeType, javax.jcr.observation.EventListener listener, long delay, long maxDelay)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static void registerDeferredChangeListener(String workspace, String observationPath, boolean includeSubnodes, String[] nodeTypes, javax.jcr.observation.EventListener listener, long delay, long maxDelay)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static javax.jcr.observation.EventListener instanciateDeferredEventListener(javax.jcr.observation.EventListener listener, long delay, long maxDelay)
WorkspaceEventListenerRegistration.Registrar
instead to register listeners@Deprecated public static void unregisterChangeListener(String workspace, javax.jcr.observation.EventListener listener)
WorkspaceEventListenerRegistration.Handle.unregister()
to unregister listenersCopyright © 2003–2016 Magnolia International Ltd.. All rights reserved.