How to Define Custom Spring Beans Through a Global Spring Context

To define custom spring beans through a global spring context:

  1. Add the custom spring bean definitions into the following file:
    SOA_HOME/soa/modules/oracle.soa.ext_11.1.1/classes/
    springse-extension-global-beans.xml
    
  2. Add the corresponding classes in either the lib directory (as a JAR file) or the classes directory (as extracted files of the JAR file).
    SOA_HOME/soa/modules/oracle.soa.ext_11.1.1/lib | classes
    

For more information, see the readme.txt file located in the following directory:

SOA_HOME/soa/modules/oracle.soa.ext_11.1.1

Note:

A server restart is required to pick up newly added spring beans.