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 JMX also ?

julien

JB> I am trying to write an EJBTestCase that needs access to information held in
JB> the Container (Container.getEjbModule().getModuleData("CATALOG")). I can do
JB> this if I add EjbModule as a attribute of Container but was wondering if I
JB> should do this or if there was another way?

JB> Thanks
JB> Jeremy



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



-- 
Best regards,
 julien                            mailto:[EMAIL PROTECTED]

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
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