README.txt 1.3 KB

1234567891011121314151617181920212223242526
  1. INTRODUCTION
  2. The spring-configuration directory is a "convention-over-configuration" option
  3. for CAS deployers. It allows you to drop a Spring XML configuration file into
  4. this directory and have CAS automatically find it (after the typical application
  5. restart). It eliminates the need for you to register that file in the web.xml
  6. ADVANTAGES
  7. By automatically breaking the configuration into smaller "bite-sized" pieces
  8. you can easily override small components of CAS without worrying about merging
  9. huge pieces of configurations files together later.
  10. The configuration-over-convention option also allows you to add new configuration
  11. options without editing existing configuration files.
  12. This should make tracking changes and maintaining local modifications easier.
  13. GOTCHAS AND THINGS TO WATCH OUT FOR
  14. If you name a local bean and an existing bean the same thing, there will be a major
  15. collision. Deployment will fail. The sky will fall! (okay that last part isn't
  16. true). Spring will be merging all of these files together so every bean must
  17. have unique names. The only way around this is if you override the file completely.
  18. i.e. override the ticketRegistry.xml allows you to re-use the "ticketRegistry"
  19. id.
  20. In addition, if there is a typographical/XML parsing error in a file, the
  21. application will not deploy.