I'm back after some playing around and I could really use some pointers.

I have done some tests using SeamTest trying to use my own EM but I cannot get 
it to work. This is mainly because 'Component.getInstance()' returns a Proxy 
and therefore I cannot replace the EM in the returned instance. When setting my 
own instance in the Context no injection takes place so other variables that 
need values remains empty.

Is there any way to solve this? I have two ideas:
1. Patch SeamTest/Component (or?) so that the EM can be replaces.
2. Somehow force SeamTest/Component (or?) to inject values in the object that I 
set in the Context.

Even though I know that you don't like what I'm trying to do I would deeply 
appreciate some insightful help here.

Thanks,
/Magnus

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to