This seems like a natural boilerplate method that should be added to the
AbstractSimpleRealDeployer to add support for ManagedObjectCreator. Do you agree?
| public void build(DeploymentUnit unit, Map<String, ManagedObject>
managedObjects)
| throws DeploymentException
| {
| T deployment = unit.getAttachment(getInput());
| if (deployment != null)
| undeploy(unit, deployment);
| {
| ManagedObjectFactory factory = ManagedObjectFactoryBuilder.create();
| ManagedObject mo = factory.initManagedObject(deployment, null, null);
| if (mo != null)
| managedObjects.put(mo.getName(), mo);
| }
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080953#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...