Package javax.resource.spi
Annotation Type ConnectionDefinition
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ConnectionDefinition
Defines a set of connection interfaces and classes pertaining to a particular connection type. This annotation can be placed only on a JavaBean that implements theManagedConnectionFactory
interface.- Since:
- 1.6
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class
connection
Specifies the Connection interface supported by the resource adapter.java.lang.Class
connectionFactory
Specifies the ConnectionFactory interface supported by the resource adapter.java.lang.Class
connectionFactoryImpl
Specifies the Class provided by the resource adapter that implements the resource adapter specific ConnectionFactory interface.java.lang.Class
connectionImpl
Specifies the class provided by the resource adapter that implements the resource adapter specific Connection interface.
-