Overriding a module definition will allow you to add functionality to the module and override existing functionality. You should always put your files last in the list properties to facilitate the cases where you want to override functionality. While the documentation below assumes that you are overriding the module bean for a delivered module, a very similar process would apply when adding a module. You would just have a heck of a lot more information to change after copying in a template module definition
- Add your override Spring file for the module.
- Copy the original module definition into your file. It will have a id like "xxxModule" and a class of
org.kuali.core.KualiModule. See the
work/src/org/kuali/module/chart/OJB-repository-chart.xmlfor an example.
- Make any necessary changes.
- Don't forget to include your new Spring file by overriding the