geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Arentz" <stefan.are...@gmail.com>
Subject Re: Getting the JSR77 MEJB / ManagementHome
Date Fri, 16 Jun 2006 21:17:53 GMT
Thanks. That was a really good hint! Things ARE easier when you talk
to the MBean server directly :-)

 S.

On 6/16/06, Dain Sundstrom <dain@iq80.com> wrote:
> I suggest you just go directly to the mbean server.  It is much more
> powerful, and is what the MEJB uses under the covers. You can find an
> example of getting a reference to the MBean server in the OpenEJB
> MEJB code:
>
>    http://fisheye.codehaus.org/browse/openejb/branches/v2_1/openejb2/
> modules/core/src/java/org/openejb/mejb/MEJB.java?r=2675
>
> and an example configuration of the mejb is here:
>
>    http://svn.apache.org/viewvc/geronimo/branches/1.1.1/configs/
> openejb/src/plan/plan.xml?view=markup
>
> Note that your plan will need a dependency on rmi-naming since that
> is where MBeanServerReference is defined.
>
> -dain
>
> On Jun 16, 2006, at 11:08 AM, Stefan Arentz wrote:
>
> > Is it possible to get a reference to the ManagementHome from a GBean?
> > (I'm try to install a notification listener). I see there is a
> > org.apache.geronimo.j2ee.mejb.MEJB but I cannot find the right object
> > name to look it up from my GBean.
> >
> > S.
>
>

Mime
View raw message