title: Custom initializing of beans annotated with a custom annotation
body: <p>Say for example, I have some beans annotated with <code>@Foo</code>, and I want to keep track of these because I want to control what happens when they are initialized, is there a way to register a custom spring beanfactory that will allow me to do this?</p>
  
  <p>What if I had another annotation <code>@Bar</code> which also needs this special initialization?</p>
  
  <p>My initial thought was to inform the user to annotated each bean with <code>@Lazy</code> annotation, then using a bean factory post processor, I will change some properties of the bean definition.</p>