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.