[Design the new POJO MicroContainer] - Re: Lifecycle aspects revisited
by kabir.khan@jboss.com
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#4019497
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019497
19 years, 1 month
[Design of JBoss Build System] - Re: MC maven build
by pgier
The spring-int pom.xml was still pointing to the other version (2.0.0-SNAPSHOT). I changed it and committed it. Now the build is getting farther, but it looks like there is a new dependency in deployers. I will see if I can figure out what's missing.
In this case it doesn't find the 2.0.0-SNAPSHOT version in the repository because the child poms are all pointing to the relative path "../build".
A few other things to note:
I made "install" the default goal, so you can just type "mvn" at the command line, and it will run a mvn install.
Once we are able to do releases with maven, you won't have to manually change the version numbers in the pom.xml files. The pom.xml files can always be set to -SNAPSHOT. Then when you use the maven release plugin you specify the release version you want, and the new SNAPSHOT version and the poms will be updated automatically. I think for branching, the only difference is that your release version would be a SNAPSHOT version.
What version should trunk be on now? 3.0.0-SNAPSHOT?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019459#4019459
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019459
19 years, 1 month