@FunctionalInterface public interface JcrCallback<T>
| Modifier and Type | Method and Description |
|---|---|
T |
doInJcr(javax.jcr.Session session)
Called by
JcrTemplate.execute(io.alapierre.jcr.JcrCallback<T>) within an active JCR
Session. |
T doInJcr(javax.jcr.Session session) throws IOException, javax.jcr.RepositoryException
JcrTemplate.execute(io.alapierre.jcr.JcrCallback<T>) within an active JCR
Session. It is not responsible for logging
out of the Session or handling transactions.IOExceptionjavax.jcr.RepositoryExceptionCopyright © 2021. All rights reserved.