Jeff Storey wrote:I know I can scan the directory but I don't want to do a rescan each time I add a new file or manually update the .springbeans file.
Why? Stuff like that is common when you use build tools such as
Ant.
Although, being as how this is Spring, it should be fairly simple to define a "scanning bean" that runs the directory, finds all the eligible classes, and registers them into the Spring framework when the app starts up.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.