Package org.jbpm.pvm.internal.wire.descriptor

Examples of org.jbpm.pvm.internal.wire.descriptor.TransactionRefDescriptor


        parse.addProblem("attribute <"+XmlUtil.getTagLocalName(element)+" destination-jndi=\"...\" is required when target=\"jms\"", element);
      }

    } else {
      objectDescriptor.setClassName(JobExecutorMessageSession.class.getName());
      objectDescriptor.addInjection("transaction", new TransactionRefDescriptor());
      objectDescriptor.addInjection("dbSession", new ContextTypeRefDescriptor(DbSession.class));
    }

    return objectDescriptor;
  }
View Full Code Here


  public TransactionRefBinding() {
    super("transaction-ref");
  }

  public Object parse(Element element, Parse parse, Parser parser) {
    return new TransactionRefDescriptor();
  }
View Full Code Here

    } else {
      // wire the JobExecutorTimerSession
      objectDescriptor.setClassName(JobExecutorTimerSession.class.getName());

      // inject fields
      objectDescriptor.addInjection("transaction", new TransactionRefDescriptor());
      objectDescriptor.addInjection("jobExecutor", new EnvDescriptor(JobExecutor.class));
      objectDescriptor.addInjection("session", new ContextTypeRefDescriptor(Session.class));
    }

    return objectDescriptor;
View Full Code Here

  public TransactionRefBinding() {
    super("transaction-ref");
  }

  public Object parse(Element element, Parse parse, Parser parser) {
    return new TransactionRefDescriptor();
  }
View Full Code Here

TOP

Related Classes of org.jbpm.pvm.internal.wire.descriptor.TransactionRefDescriptor

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.