Top Description Methods
javax.resource.spi

public @Interface ConnectionDefinition

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:TYPE
Imports
java.lang.annotation.Target, .Retention, .Documented

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 the ManagedConnectionFactory interface.
Since
1.6
Version
Java EE Connector Architecture 1.6

Method Summary

Modifier and TypeMethod and Description
public Class<T>
connection()

Specifies the Connection interface supported by the resource adapter.

public Class<T>
connectionFactory()

Specifies the ConnectionFactory interface supported by the resource adapter.

public Class<T>
connectionFactoryImpl()

Specifies the Class provided by the resource adapter that implements the resource adapter specific ConnectionFactory interface.

public Class<T>
connectionImpl()

Specifies the class provided by the resource adapter that implements the resource adapter specific Connection interface.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

connectionback to summary
public Class<T> connection()

Specifies the Connection interface supported by the resource adapter. Example: javax.resource.cci.Connection or com.wombat.Connection

connectionFactoryback to summary
public Class<T> connectionFactory()

Specifies the ConnectionFactory interface supported by the resource adapter. Example: javax.resource.cci.ConnectionFactory or com.wombat.ConnectionFactory

connectionFactoryImplback to summary
public Class<T> connectionFactoryImpl()

Specifies the Class provided by the resource adapter that implements the resource adapter specific ConnectionFactory interface. Example: com.wombat.ConnectionFactoryImpl

connectionImplback to summary
public Class<T> connectionImpl()

Specifies the class provided by the resource adapter that implements the resource adapter specific Connection interface. Example: com.wombat.ConnectionImpl