[jboss-dev-forums] [Design of EJB 3.0] - Re: Injecting into the Containers
ALRubinger
do-not-reply at jboss.com
Wed May 27 11:42:39 EDT 2009
wolfc" wrote : You're collecting session metrics from the wrong spot. You should be collecting those metrics from pool and cache. Only call metrics should come from container.
|
| The pool and cache should actually be deployed by a separate deployer before the container gets deployed. So that these are MC beans which are injected into the container.
OK. It's worth noting that this has become a high priority, so I'm hesitant to go down the road of separate cache/pool deployers for this first stab.
wolfc" wrote : Injection on the containers does work
...how, where? Currently I don't see a mechanism to inject a known bean name. Injection via autowiring is simple as @Inject on a setter method.
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233655#4233655
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233655
More information about the jboss-dev-forums
mailing list