Package org.apache.agila.bpel.engine.priv.core.definition

Examples of org.apache.agila.bpel.engine.priv.core.definition.Property


          Iterator properties = rootElement.elementIterator("property");
          while (properties.hasNext()) {
            Element e = (Element) properties.next();
            String name = e.valueOf("@name");
            if (addedProperty.containsKey(name) == false) {
              Property prop = ProcessFactory.addProperty(tp, name, e.valueOf("@type"));
                    addedProperty.put(name, prop);
            }
          }
          Iterator propertyAlias = rootElement.elementIterator("propertyAlias");
            while (propertyAlias.hasNext()) {
                Element e = (Element) propertyAlias.next();
                String propertyName = e.valueOf("@propertyName");

                XPath xpathSelector = DocumentHelper.createXPath("//*/defaultNS:property[@name=\"" + propertyName + "\"]");
                HashMap nsMap = new HashMap(1);
                nsMap.put("defaultNS", BPEL_NS);
                xpathSelector.setNamespaceURIs(nsMap);
                Node propNode = xpathSelector.selectSingleNode(doc);

                Property prop = (Property) addedProperty.get(propertyName);
                if (propNode != null && prop == null) {
                    prop = ProcessFactory.addProperty(tp,
                            propertyName, propNode.valueOf("@type"));
                    addedProperty.put(propertyName, prop);
                }
View Full Code Here

TOP

Related Classes of org.apache.agila.bpel.engine.priv.core.definition.Property

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.