"jaikiran" wrote : 1) I don't see a API which returns me a
JndiSessionRegistrarBase, which i can use for calling the unbindEjb.
We've got mock Containers in EJB3 Proxy under src/test/java, so if you're
installing your EJB into them, this logic is done for ya. :) Check out how the other
session tests use these containers.
"jaikiran" wrote : Just happened to see this
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=137339. I guess
that's the reason why the annotations are not being picked up.
|
Yep. If you want to mock it up, the place to add this logic is in EJB3 Test,
MetaDataHelper. Though probably isn't worth the effort; I see that Alexey's tests
for JBoss50Creator (the guy responsible for doing this) are now passing, so I'll
probably try to change over to use this soon.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158424#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...