public class JcrResourceListener extends Object implements javax.jcr.observation.EventListener, Closeable
JcrResourceListener listens for JCR observation
events and creates resource events which are sent through the
OSGi event admin.| Constructor and Description |
|---|
JcrResourceListener(String mountPrefix,
ObservationListenerSupport support) |
public JcrResourceListener(String mountPrefix, ObservationListenerSupport support) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void onEvent(javax.jcr.observation.EventIterator events)
onEvent in interface javax.jcr.observation.EventListenerEventListener.onEvent(javax.jcr.observation.EventIterator)Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.