[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: MC roadmap - 2.0.0.CR1/GA, Post Final, 3.x

adrian@jboss.org do-not-reply at jboss.com
Mon Aug 4 09:32:13 EDT 2008


"alesj" wrote : 
  |  * Valves, container construction
  | 

There isn't very much on the wiki page since I put "etc." :-)
http://wiki.jboss.org/wiki/JBossKernel

anonymous wrote : 
  | Provide kernel aspects - IOC, lifecycle, valve, state, etc.
  | 

IOC is just the annotations we've already done, lifecycle would allow
somebody for example to intercept the "start" method even when it is not
actually called start(), essentially an aspect defined against the lifecycle annotation. 

"state" is essentially what POJOCache does, but something
needs to be responsible for putting an MC managed bean into the cache
at installation and removing it at undeployment.

I'm sure you can think of a number of other MC aspects, e.g.
annotating a bean to expose it in jsr77 (which already has a JIRA issue
somewhere?) similar to what we do for JMX.

The "container construction' is an example of how to use aop-mc-int to build
containers without all the boilerplate, i.e. injecting onto the interceptors/aspects
instead of writing a container explicitly to do all the work and making use
of the MDR within the aspect. 
There is a simple example (pre-MDR) of this in the jboss-jca prototype.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168445#4168445

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168445



More information about the jboss-dev-forums mailing list