public class OakResourceListener extends org.apache.jackrabbit.oak.plugins.observation.NodeObserver implements Closeable
OakResourceListener implementation translates and relays
all events to the OSGi EventAdmin.| Constructor and Description |
|---|
OakResourceListener(String mountPrefix,
ObservationListenerSupport support,
org.osgi.framework.BundleContext bundleContext,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
added(String path,
Set<String> added,
Set<String> deleted,
Set<String> changed,
Map<String,String> properties,
org.apache.jackrabbit.oak.spi.commit.CommitInfo commitInfo) |
protected void |
changed(String path,
Set<String> added,
Set<String> deleted,
Set<String> changed,
Map<String,String> properties,
org.apache.jackrabbit.oak.spi.commit.CommitInfo commitInfo) |
void |
close()
Dispose this listener.
|
protected void |
deleted(String path,
Set<String> added,
Set<String> deleted,
Set<String> changed,
Map<String,String> properties,
org.apache.jackrabbit.oak.spi.commit.CommitInfo commitInfo) |
public OakResourceListener(String mountPrefix, ObservationListenerSupport support, org.osgi.framework.BundleContext bundleContext, Executor executor) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected void added(String path, Set<String> added, Set<String> deleted, Set<String> changed, Map<String,String> properties, org.apache.jackrabbit.oak.spi.commit.CommitInfo commitInfo)
added in class org.apache.jackrabbit.oak.plugins.observation.NodeObserverprotected void deleted(String path, Set<String> added, Set<String> deleted, Set<String> changed, Map<String,String> properties, org.apache.jackrabbit.oak.spi.commit.CommitInfo commitInfo)
deleted in class org.apache.jackrabbit.oak.plugins.observation.NodeObserverCopyright © 2007–2014 The Apache Software Foundation. All rights reserved.