[Design the new POJO MicroContainer] - Re: EAR structure mock scanning
by alesj
"scott.stark(a)jboss.org" wrote : The annotations scanning happens at the post class loader level in jbossas. Where is it happening in your new work?
|
Pre-real.
Obviously it must be after classloading and before real, so I chose pre-real, leaving some classloader modifications for post-cl still open.
"scott.stark(a)jboss.org" wrote :
| The annotations scanning happening at the structure phase is duplicate that cannot be reused later. It should be based on VFS/javassist usage to avoid introducing the annotations into an incorrect class loader that cannot be determined during the structure phase.
|
That's what I'm doing - VFS/javassist. ;-)
But like I said, structure phase is not the right place to do this, OSGi wise.
e.g. we want to scan for @Stateful, but java-ee.jar bundle is not yet installed - it will only be pulled in by my apps javax.ejb.* import - so in structure phase we won't be able to resolve any @Stateful annotation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151836#4151836
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151836
17 years, 10 months
[Design of EJB 3.0] - JBMETA-42
by scott.stark@jboss.org
What do you mean by this Andrew?
anonymous wrote :
| My last commit introduced no regression but has now interfered with the policy's expectations of bases upon which to build. As shown from the Proxy TestSuite:
|
| 02:24:31,424 INFO [ProxySessionTestCase] Business Remote JNDI Name: MyStatelessBean/remote
| 02:24:31,427 INFO [ProxySessionTestCase] Business Remote JNDI Name for org.jboss.ejb3.test.proxy.session.MyStatelessRemote: MyStatelessBean/remote/remote-org.jboss.ejb3.test.proxy.session.MyStatelessRemote
| 02:24:31,427 INFO [ProxySessionTestCase] Local JNDI Name: MyStatelessBean/local
| 02:24:31,427 INFO [ProxySessionTestCase] Business Local JNDI Name for org.jboss.ejb3.test.proxy.session.MyStatelessLocal: MyStatelessBean/remote/local-org.jboss.ejb3.test.proxy.session.MyStatelessLocal
| 02:24:31,427 INFO [ProxySessionTestCase] Local Home JNDI Name: MyStatelessBean/remote/localHome
| 02:24:31,427 INFO [ProxySessionTestCase] Home JNDI Name: MyStatelessBean/remote/remoteHome
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151834#4151834
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151834
17 years, 10 months