Configuring the execution unit (XU) for the XU plug-in

After you have written and packaged the event plug-in extension class for the rule engine, you must declare the XU plug-in in the plugins XU configuration property.

Procedure

To set a XU configuration property:

  1. Use the administration console of your application server or modify the ra.xml deployment descriptor file in the .rar archive as follows:
    
    [...]
        <config-property>
           <config-property-name>plugins</config-property-name>
           <config-property-type>java.lang.String</config-property-type>
           <config-property-value>
              {pluginClass=Management,xuName=default},
              {pluginClass=mypackage.MyPlugin,a_property_key=the_value}
           </config-property-value>
         </config-property>
    [...]
    
  2. Repackage the ra.xml file into the .rar archive.
  3. Restart the application server.