Package org.jbpm.jcr

Examples of org.jbpm.jcr.JcrService


  protected Object getObject() {
    if (path==null) return null;
   
    // THE NODE REPOSITORY AND WORKSPACE NAME GOT TO CORRESPOND WITH A JBPM SERVICE NAME
    JcrService jcrService = findService();
    if (jcrService==null) {
      throw new JbpmException("couldn't find jBPM service for JCR repository '"+repository+"', workspace '"+workspace+"'");
    }
    Session session = jcrService.getSession();
    Item item;
    try {
      item = session.getItem(path);
    } catch (Exception e) {
      // NOTE that Error's are not caught because that might halt the JVM and mask the original Error.
View Full Code Here

TOP

Related Classes of org.jbpm.jcr.JcrService

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.