Package org.jbpm.pvm.internal.util

Examples of org.jbpm.pvm.internal.util.TagBinding


   
    if (bindingClassName!=null) {
      try {
        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
        Class<?> bindingClass = Class.forName(bindingClassName, true, classLoader);
        TagBinding binding = (TagBinding) bindingClass.newInstance();
       
        String tagLocalName = XmlUtil.getTagLocalName(bindingElement);
        if ("activity".equals(tagLocalName)) {
          binding.setCategory(JpdlParser.CATEGORY_ACTIVITY);
        } else if ("eventlistener".equals(tagLocalName)) {
          binding.setCategory(JpdlParser.CATEGORY_EVENT_LISTENER);
        } else {
          parse.addProblem("unrecognized binding tag: "+tagLocalName);
        }
       
        return binding;
View Full Code Here

TOP

Related Classes of org.jbpm.pvm.internal.util.TagBinding

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.