I see TestMetaDataBeanDeployer from JBDEPLOY-69 adds the metadata in a different way
| public void deploy(DeploymentUnit unit) throws DeploymentException
| {
| Scope applicationScope = unit.getScope().getScope(CommonLevels.APPLICATION);
|
| MemoryMetaDataLoader applicationMetaData = new MemoryMetaDataLoader(new
ScopeKey(applicationScope));
| repository.addMetaDataRetrieval(applicationMetaData);
|
| applicationMetaData.addMetaData("test", this,
TestMetaDataBeanDeployer.class);
| }
|
from what I have been doing
| unit.getMutableMetaData().addMetaData(scopedManager, AspectManager.class);
|
I will try that instead
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168931#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...