[jboss-jira] [JBoss JIRA] Created: (JBJCA-142) Create and Inject additional bean object in RADeployer

Jeff Zhang (JIRA) jira-events at lists.jboss.org
Thu Aug 6 06:10:29 EDT 2009


Create and Inject additional bean object in RADeployer
------------------------------------------------------

                 Key: JBJCA-142
                 URL: https://jira.jboss.org/jira/browse/JBJCA-142
             Project: JBoss JCA
          Issue Type: Task
          Components: Deployer
            Reporter: Jeff Zhang
            Assignee: Jeff Zhang
             Fix For: 1.0.0.Alpha3


 Object managedConnectionFactory = null;
 if (cmd != null && cmd.getRa() != null && cmd.getRa().... != null)
 {
    Class mcfClass = Class.forName(cmd.getRa()...., true, cl);
    managedConnectionFactory = mcfClass.newInstance();
 }

and of course inject its properties - see the example for the resourceAdapter 
object.

And then add them to the Bean Validation layer 

 if (managedConnectionFactory != null)
    BeanValidation.validate(managedConnectionFactory);

we need

* ManagedConnectionFactory
* ActivationSpec
* AdministeredObject

InteractionSpec won't be part of the final specification.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list