Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-142

Create and Inject additional bean object in RADeployer

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha3
    • None
    • Deployer
    • None

      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.

              jeff.zhang_jira Jeff Zhang (Inactive)
              jeff.zhang_jira Jeff Zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: