User development,

A new message was posted in the thread "Custom Activity":

http://community.jboss.org/message/528865#528865

Author  : Sam Manning
Profile : http://community.jboss.org/people/dondragon2

Message:
--------------------------------------------------------------
<custom name="print dots" class="com.test.process.Prompt">
        <property name="properties">
            <object  class="java.util.HashMap">
                <map>
                    <entry>
                        <key>
                            <string value="testprop" />
                        </key>
                        <value>
                            <string value="test" />
                        </value>
                    </entry>
                </map>
            </object>
        </property>
        <transition to="end" />
    </custom>
 
public class Prompt implements ActivityBehaviour{
 
    HashMap properties = new HashMap();
 
    public void execute(ActivityExecution ae) throws Exception {
        System.out.println(properties.get("testprop")+"------>");
    }
 
    public HashMap getProperties() {
        return properties;
    }
 
    public void setProperties(HashMap properties) {
        this.properties = properties;
    }
 
}

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/528865#528865


_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to