Package net.sf.archimede.observation

Examples of net.sf.archimede.observation.JcrObservationManager


    try {
            Session session = (Session) DatabaseUtil.getSingleton().getDaoSession();
            Node folderNode = session.getNodeByUUID(folder.getId());
           
            JcrObservationManager jom = JcrObservationManager.getInstance();
            jom.addEventListener(el, Event.NODE_ADDED, folderNode.getPath(), true, null, null, false);
        } catch (Exception e) {
      throw new IndexationException("Folder with version id : " + folder.getId() + " could not be indexed", e);
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.archimede.observation.JcrObservationManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.