/**
* Recurses through all nodes processing the callback
* when a matching node is found.
*/
public void recurse(final JcrNodeCallback callback) {
template.execute(new JcrCallback() {
public Object doInJcr(Session session) throws RepositoryException,
IOException {
Node root = session.getRootNode();
JcrConstants jcrConstants = new JcrConstants(session);