I've largely worked through the AOP side of replacing the old "lifecycle
aspects" with "lifecycle actions".
I propose something like the following interface for the lifecycle actions
| interface LifecycleAction
| {
| void install(KernelControllerContext ctx);
| void uninstall(KernelControllerContext ctx);
| }
|
I'm not sure where to fit it in though. Can I populate the KernelControllerContext
with the lifecycle handlers for the different states?
I need some way of getting hold of the Advisor, since this is where the per-bean
annotations are stored, and also it is a convenient way of reading the annotations in the
class. But this may be solveable by something Adrian mentioned before about storing the
metadata information in the Class(Instance)Adapter and accessing that via the KCC?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019497#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...