[jboss-dev-forums] [Design the new POJO MicroContainer] - JBMICROCONT-330 - Preconfigured MDR and scopes

adrian@jboss.org do-not-reply at jboss.com
Fri Aug 8 10:58:39 EDT 2008


I've got this working.

I had to do some refactoring since the initialisation of the hierarchical
metadata was in the wrong place. It was in BasicKernelMetaDataRepository
while the removal was in AbstractScopeInfo.

I've moved it AbstractScopeInfo so it is symmetrical and we know whether
we created it.

It's brought up two issues which I'll raise bug reports for.

1) ScopingOverridingTestCase

This is failing because of the problem I suspected when taling to Kabir
about the issue that led to finding JBMICROCONT-330
i.e. a scoped controller context is sharing the same metadata
as one that should not be scoped.

2) We are not removing annotations from the mutable metadata when
we undeploy. I'm going to leave this failing in MutableMetaDataTestCase

Once these have been fixed, the kernel pom needs reverting so it
fails when there is a testfailure.

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

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



More information about the jboss-dev-forums mailing list