| 1234567891011121314151617181920212223242526 | INTRODUCTIONThe spring-configuration directory is a "convention-over-configuration" optionfor CAS deployers.  It allows you to drop a Spring XML configuration file intothis directory and have CAS automatically find it (after the typical applicationrestart).  It eliminates the need for you to register that file in the web.xmlADVANTAGESBy automatically breaking the configuration into smaller "bite-sized" piecesyou can easily override small components of CAS without worrying about merginghuge pieces of configurations files together later.The configuration-over-convention option also allows you to add new configurationoptions without editing existing configuration files.This should make tracking changes and maintaining local modifications easier.GOTCHAS AND THINGS TO WATCH OUT FORIf you name a local bean and an existing bean the same thing, there will be a majorcollision.  Deployment will fail.  The sky will fall! (okay that last part isn'ttrue).    Spring will be merging all of these files together so every bean musthave unique names.  The only way around this is if you override the file completely.i.e. override the ticketRegistry.xml allows you to re-use the "ticketRegistry"id. In addition, if there is a typographical/XML parsing error in a file, theapplication will not deploy.
 |