Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-377

Support parameterization between elements (conditions/operations) in Rules

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta7
    • 2.0.0.Beta4
    • None
    • None
    • None

      The goal is to support some kind of

      {params}

      - Possibly like the below example:

          <rule>
            <when>
              <xmlfile xpath="/w:ejb-jar/w:enterprise-beans/w:session/w:ejb-class[text() = '{ejbTypeName}']" as="xml">
                      <namespace prefix="w" uri="http://java.sun.com/xml/ns/j2ee"/>
              </xmlfile>
      	<javaclass in="{ejbTypeName}" as="ejb">
                 <references type="javax.ejb.Remote" location="IMPLEMENTS">
                 <references type="com.beanutils.async.AsyncronousMethod" location="METHOD_ANNOTATION"/>
              </javaclass>
            </when>
            <perform>
              <classification of="ejb" description="EJB 2.x" effort="1">
              <hint in="ejb" message="BeanUtils Asyncronous is not compatible with JBoss EAP Remote EJBs, and should be replaced with the Java EE 6 @Asyncronous annotation." effort="5">
                      <link href="http://docs.oracle.com/javaee/6/tutorial/doc/gkkqg.html"
                              description="Using Java EE 6 @Asynchronous." />
              </hint>
            </perform>
          </rule>
      

              lincolnthree Lincoln Baxter III (Inactive)
              lincolnthree Lincoln Baxter III (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: