OK.
3.2 is fine for me.
Thanks
Jeremy
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David
> Jencks
> Sent: Thursday, January 30, 2003 4:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] Accessing Container from an
Any ideas?
Thanks
Jeremy
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Jeremy Boynes
Sent: Thursday, January 30, 2003 9:43 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-dev] Accessing Container from an EJB?
Thanks - I copied the code to get the registry int
gt; > 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 th
; 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
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)
Why not? I see no reason why a client can't look up the EJB container
directly using an MBean and get some information. I can see why this
would be a bad idea, but we shouldn't restrict the access. Anyway this
is for some test code.
-dain
On Thursday, January 30, 2003, at 04:23 AM, julien v
David Jencks wrote
>
> I'm pretty confused about what exactly you are trying to do, since
> there is already an instance variable ejbModule and and accessors
> get/setEjbModule in the Container class.
>
I am trying to unit test changes to JDBCEJBQLCompiler by comparing the SQL
generated to known v
Yes but it is not exposed on the MBean interface, so how do you get a
reference to the module unless you already have a real reference to the
container?
-dain
On Thursday, January 30, 2003, at 06:50 AM, David Jencks wrote:
I'm pretty confused about what exactly you are trying to do, since
the
I'm pretty confused about what exactly you are trying to do, since
there is already an instance variable ejbModule and and accessors
get/setEjbModule in the Container class.
??
david jencks
On Thursday, January 30, 2003, at 01:36 AM, Jeremy Boynes wrote:
I am trying to write an EJBTestCase th
I don't think EJB can access its container directly.
However maybe you could add an interceptor in stack that does nothing
but provides you information you need, because they have access
to container. Then your EJB could contact interceptor (with static
call for instance)
Maybe is it possible via
I am trying to write an EJBTestCase that needs access to information held in
the Container (Container.getEjbModule().getModuleData("CATALOG")). I can do
this if I add EjbModule as a attribute of Container but was wondering if I
should do this or if there was another way?
Thanks
Jeremy
-
11 matches
Mail list logo