[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Support for @JMX on attributes

bstansberry@jboss.com do-not-reply at jboss.com
Mon Jun 23 17:28:37 EDT 2008


Excuse me for jumping in (testsuite is running so I've got a minute). Since I'm uninvolved I'm sure to be wrong. ;)

I think Adrian's proposed syntax does what you are looking for; it doesn't say the MC creates the object, it tells the MC to get a ref to the object by invoking a getter. You create the object yourself internally however you wish.  Exposing it as via a bean element just allows you to add the @JMX annotation.

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

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



More information about the jboss-dev-forums mailing list