It's this bit in DeployersImpl.getManagedObjects:
for (DeployerWrapper deployer : deployers)
| {
| outputs.addAll(deployer.getOutputs());
| // If the deployer supports ManagedObjectCreator let is augment/modify the
managed objects
| if(deployer.getManagedObjectCreator() != null)
| mocs.add(deployer);
| }
| //
| mgtObjectCreator.build(unit, outputs, managedObjects);
Meaning that only the *outputs* of all deployers are scanned. If you just add an
attachment with a name, that won't get passed to DefaultManagedObjectCreator.build.
So this helps in my deployer:
du.addAttachment(uniqueName, bean, BeanMetaData.class);
| this.addOutput(uniqueName);
Is this the expected behaviour?
Even still, I'm not seeing all the ManagedObjects that I'm expecting come through.
More tomorrow.
S,
ALR
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234031#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...