Package org.jbpm.svc

Examples of org.jbpm.svc.Service


     * see https://jira.jboss.org/jira/browse/JBPM-1775 */
    JbpmContext jbpmContext = executionContext.getJbpmContext();
    if (jbpmContext != null) {
      Services services = jbpmContext.getServices();
      if (services != null) {
        Service service = services.getPersistenceService();
        if (service instanceof DbPersistenceService) {
          DbPersistenceService persistenceService = (DbPersistenceService) service;
          return persistenceService.isTransactionActive() || persistenceService.getTransaction() == null;
        }
      }
View Full Code Here


  public boolean equals(Object o) {
    return EqualsUtil.equals(this, o);
  }
 
  protected Service getService(String serviceName) {
    Service service = null;
    JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
    if (jbpmContext!=null) {
      service = jbpmContext.getServices().getService(serviceName);
    }
    return service;
View Full Code Here

  public boolean equals(Object o) {
    return EqualsUtil.equals(this, o);
  }
 
  protected Service getService(String serviceName) {
    Service service = null;
    JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
    if (jbpmContext!=null) {
      service = jbpmContext.getServices().getService(serviceName);
    }
    return service;
View Full Code Here

TOP

Related Classes of org.jbpm.svc.Service

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.