Thanks - I copied the code to get the registry into the test setup and it
worked like a charm.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David
> Jencks
> Sent: Thursday, January 30, 2003 9:13 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] Accessing Container from an EJB?
>
>
> Well, one solution in jboss 4 that doesnt add any more code is:
>
> I figure you know the object name for the ejbModule mbean.... you are
> writing the test.
>
> I just added a jmx method in ServiceMBeanSupport to return the actual
> object behind an mbean.  You can use this (or pre-jboss 4 similar code)
> to get the actual ejbModule object and call whatever method you want on
> it.  I don't know if this will work with the Container mbean since it
> is dynamic.
>
> david
>



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to