Examples of EnterpriseTransactionDescriptor


Examples of org.jbpm.wire.descriptor.EnterpriseTransactionDescriptor

* @author Tom Baeyens
*/
public class EnterpriseTransactionBinding implements Binding {

  public Object parse(Element element, Parse parse, Parser parser) {
    EnterpriseTransactionDescriptor descriptor = new EnterpriseTransactionDescriptor();
   
    if (element.hasAttribute("jndi")) {
      descriptor.setJndiName(element.getAttribute("jndi"));
    }

    String manageText = element.getAttribute("manage");
    Boolean manage = XmlUtil.booleanEquals(manageText, null);
    if (manage!=null) {
      descriptor.setManage(manage.booleanValue());
    }
   
    return descriptor;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.