Index: javax/resource/spi/endpoint/MessageEndpointFactory.java
===================================================================
--- javax/resource/spi/endpoint/MessageEndpointFactory.java (revision 60373)
+++ javax/resource/spi/endpoint/MessageEndpointFactory.java (working copy)
@@ -98,7 +98,8 @@
/**
* This is used to find out whether message deliveries to a target method
* on a message listener interface that is implemented by a message
- * endpoint will be transacted or not.
+ * endpoint or a target method in the Class
returned by the
+ * getBeanClass
method, will be transacted or not.
*
* The message endpoint may indicate its transacted delivery preferences
* (at a per method level) through its deployment descriptor. The message
@@ -139,4 +140,16 @@
*/
String getActivationName();
+ /**
+ * Return the Class
object corresponding to the message
+ * endpoint class. For example, for a Message Driven Bean this is the
+ * Class
object corresponding to the application's MDB class.
+ *
+ * The resource adapter may use this to introspect the
+ * message endpoint class to discover annotations, interfaces implemented,
+ * etc. and modify the behavior of the resource adapter accordingly.
+ *
+ * @since 1.7
+ */
+ public Class> getBeanClass();
}
Index: javax/resource/ConnectionFactoryDefinition.java
===================================================================
--- javax/resource/ConnectionFactoryDefinition.java (revision 60374)
+++ javax/resource/ConnectionFactoryDefinition.java (working copy)
@@ -82,7 +82,7 @@
* The fully qualified name of the connection factory interface
* class.
*/
- String className();
+ String interfaceName();
/**
* The level of transaction support the connection factory resource