glassfish
  1. glassfish
  2. GLASSFISH-19895

JMS resource configuration annotations and deployment descriptor elements changes: use of className

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_dev
    • Fix Version/s: 4.0_dev
    • Component/s: jms
    • Labels:
      None

      Description

      The JMS API will soon be updated to add a new element interfaceName to the annotations JMSConnectionFactoryDefinition and JMSDestinationDefinition.

      The Java EE schema will also soon be updated to add a new element <interface-name> to the deployment descriptor elements <jms-connection-factory> and <jms-destination>.

      The initial implementation of these changes is defined in GLASSFISH-19894. However once that has been done, the following additional handling is required for JMSDestinationDefinition/<jms-destination>.

      Normally the className/<class-name> element is not used and should be ignored, since interfaceName/<interface-name> is sufficient to identify the <admin-object> element in the resource adapter's ra.xml which defines the managed connection factory class name.

      However the connector spec allows the case where ra.xml contains two <admin-object>> elements with the same interface. In this case the className/<class-name> element should be used to determine which <admin-object>> element to use.

      Note that for JMSConnectionFactoryDefinition/<jms-connection-factory>, no further changes are needed to the handling of these definitions beyond those defined in GLASSFISH-19894. className/<class-name> should always be ignored.

        Issue Links

          Activity

          Hide
          Simon Meng added a comment -

          The new attribute is interfaceName. Update the issue description accordingly.

          Show
          Simon Meng added a comment - The new attribute is interfaceName. Update the issue description accordingly.
          Hide
          Simon Meng added a comment -

          Fix at revision 60613

          Show
          Simon Meng added a comment - Fix at revision 60613
          Hide
          Simon Meng added a comment -

          When updating MDB runtime info, it uses className, the new attribute interfaceName should be used here.
          Committed revision 60664 to fix this issue.

          Show
          Simon Meng added a comment - When updating MDB runtime info, it uses className, the new attribute interfaceName should be used here. Committed revision 60664 to fix this issue.

            People

            • Assignee:
              Simon Meng
              Reporter:
              Nigel Deakin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: