Element SpringBeans

Substitution Groups:
binding.IDataSource

Allow to use several beans, declared into Spring context.


Attributes
optional   ConfigLocation SearchIn Defines where the Spring configuration file(s) should be searched.
  • WAR: in the WAR /WEB-INF directory.
  • CLASSPATH: in the application classpath.
Default: WAR.
optional   boolean CreateContext Determines whether Open SUIT has to create and initialize the Spring Application Context.
If set to 'true', your Spring Application Context will be instantiated by Open SUIT, and made available for the whole application. As a result you won't have to declare it anywhere else.
Otherwise Open SUIT assumes the Spring Application Context is declared and initialized by some other way (Spring servlet for instance), and will just retrieve it through the J2EE servlet context.
Default: false.

Named Children Elements
1 - unbounded   XmlConfig[] ConfigFiles Spring configuration file(s).
Note: This is not required at runtime if 'CreateContext' is false, but still it is useful to enable build-time validation.