-
Task
-
Resolution: Done
-
Critical
-
None
-
None
A container task for having deployers implement ManagedObjectCreator to provide the deployment management metadata.
Typically this should be based on annotating the deployer metadata and then implementing the build method along the lines of:
public void build(DeploymentUnit unit, Map<String, ManagedObject> managedObjects)
throws DeploymentException
{
ManagedConnectionFactoryDeploymentGroup mcfdg = unit.getAttachment(getInput());
if (mcfdg != null)
}
This should be done in the parsing deployers. Any subclass of the AbstractParsingDeployerWithOutput inherits such an implementation, and can enable it by setting the buildManagedObject property true.
public class ManagedConnectionFactoryParserDeployer extends AbstractVFSParsingDeployer<ManagedConnectionFactoryDeploymentGroup>
{
...
public ManagedConnectionFactoryParserDeployer()
The http://wiki.jboss.org/wiki/Wiki.jsp?page=ManagedObjects page will document what is needed to annotate the metadata.