This page last changed on Dec 16, 2007 by tom@atlassian.com.

Module Descriptor

To create a Spring component in a plugin configure a module like this:

<spring key="componentName" class="com.example.MyComponent">
  ... standard Spring configuration XML ...
</spring>

The above module is equivalent to having:

<bean id="componentName" class="com.example.MyComponent">
... standard Spring configuration XML ...
</bean>

in a Spring context file.

Note that the spring component modules are created in order of their declaration, and that a component created by an earlier module cannot depend on a component created by a later module.

Document generated by Confluence on Sep 23, 2008 01:42