Page tree
Skip to end of metadata
Go to start of metadata

Overview

FIXEdge Java functionality can be extended with custom modules if required. The new logic can be integrated via Spring configuration files. As a default extension point, use the conf/spring/custom-ext.xml configuration file. Add any custom Beans there.

The conf/spring/custom-ext.xml currently includes two Java Beans for extending Groovy rules with custom functionalities:  

  • Listing a bean with the customBLImports ID allows extending default imports for Groovy scripts:
<util:list id="customImports" value-type="java.lang.String">
	<!--Example of import value-->
	<value>java.util.concurrent.atomic.AtomicInteger</value>
</util:list>
  • Mapping a Bean with the customBLBeans ID allows adding custom Beans as variables to Groovy scripts:
<util:map id="customAdditionalProperties" key-type="java.lang.String">
	<!--Example-->
    <!-- exampleBean now is accessible in Groovy scripts -->
	<entry key="exampleBean" value-ref="testBean"/>
</util:map>

<bean id="testBean" class="java.lang.Object"/>


  • No labels