I still do not get what I expect in the MetaData repository, none of the
MetaDataRetrievals have a initialised metadataByName property.
I noticed something else, before the call to
| scopeInfo.setScope(unit.getScope());
|
in BeanMetaDataDeployer scopeInfo.scopeKey is
| [JVM=THIS, CLASS=org.jboss.beans.metadata.plugins.factory.GenericBeanFactory,
INSTANCE=ScopedAlias_13_Factory$ScopedInterceptor, WORK=5644960]
|
after the call it is
| [JVM=THIS,
APPLICATION=vfszip:/Users/kabir/sourcecontrol/jboss-head/testsuite/output/lib/aop-scopeddependency-scoped.sar,
DEPLOYMENT=vfszip:/Users/kabir/sourcecontrol/jboss-head/testsuite/output/lib/aop-scopeddependency-scoped.sar]
|
I will take a closer look at your KernelScopeUnitTestCase.
Another problem is that for scoped deployments I am changing the beans name to something
unique and adding an alias annotation containing the bean name. This breaks with the new
code in BeanMetaDataDeployer. I will post more on this once I have some more information
about what exactly is going on...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168986#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...