[jboss-jira] [JBoss JIRA] Updated: (JBAS-4376) Have deployers implement ManagedObjectCreator
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Mon Sep 3 23:12:18 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4376?page=all ]
Scott M Stark updated JBAS-4376:
--------------------------------
Description:
A container task for having deployers implement ObjectModelBuilder 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)
{
ManagedObjectFactory factory = ManagedObjectFactoryBuilder.create();
ManagedObject mo = factory.initManagedObject(mcfdg, null, null);
if (mo != null)
managedObjects.put(mo.getName(), mo);
}
}
The http://wiki.jboss.org/wiki/Wiki.jsp?page=ManagedObjects page will document what is needed to annotate the metadata.
was:
A container task for having deployers implement ObjectModelBuilder 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)
{
ManagedObjectFactory factory = ManagedObjectFactoryBuilder.create();
ManagedObject mo = factory.initManagedObject(mcfdg, null, null);
if (mo != null)
managedObjects.put(mo.getName(), mo);
}
}
> Have deployers implement ManagedObjectCreator
> ---------------------------------------------
>
> Key: JBAS-4376
> URL: http://jira.jboss.com/jira/browse/JBAS-4376
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Deployment services, Management services
> Reporter: Scott M Stark
> Assigned To: Dimitris Andreadis
> Fix For: JBossAS-5.0.0.Beta3
>
>
> A container task for having deployers implement ObjectModelBuilder 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)
> {
> ManagedObjectFactory factory = ManagedObjectFactoryBuilder.create();
> ManagedObject mo = factory.initManagedObject(mcfdg, null, null);
> if (mo != null)
> managedObjects.put(mo.getName(), mo);
> }
> }
> The http://wiki.jboss.org/wiki/Wiki.jsp?page=ManagedObjects page will document what is needed to annotate the metadata.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list