I have been using a custom built hibernate interceptor for some time to inject domain models with dependencies. A nice side-effect of that interceptor is that the marker interfaces present in Spring are taken care of at the same time.
I have rewritten my application to using @configurable and aspectj load-time weaving. All I am getting is dependency injection. (And a considerable delay when launching my tests)
I am wondering if this is an oversight? Is there a way of handling this that I just haven't seen? Is there an @ApplicationContextAware annotation somewhere that I haven't found?


Reply With Quote
