Package org.jbpm.wire.descriptor

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

Related Classes of org.jbpm.wire.descriptor.EnterpriseTransactionDescriptor

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.