public class DefaultFilter extends Object implements EventFilter
| Constructor and Description |
|---|
DefaultFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireSession()
Initialize a long-running read-only JCR session
to use for filtering events
|
boolean |
apply(javax.jcr.observation.Event event)
Filter observer events to only include events on a FedoraObject or
Datastream
|
void |
releaseSession()
Log-out of the read-only JCR session before destroying
the filter.
|
public boolean apply(javax.jcr.observation.Event event)
apply in interface com.google.common.base.Predicate<javax.jcr.observation.Event>event - the original event@PostConstruct public void acquireSession() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException@PreDestroy public void releaseSession()
Copyright © 2013 DuraSpace, Inc.. All Rights Reserved.