|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Deployment.ResourceAdapter
A Java 2 Resource Adapter
The resourceadapterType specifies information about the resource adapter. The information includes fully qualified resource adapter Java class name, configuration properties, information specific to the implementation of the resource adapter library as specified through the outbound-resourceadapter and inbound-resourceadapter elements, and an optional set of administered objects.
| Method Summary | |
|---|---|
void |
deploy(Context containerContext,
Context applicationContext,
Reference reference)
This method deploys the resource adapter |
List |
getAuthenticationMechanism()
Get the supported authentication mechanisms. |
Map |
getConfigProperties()
The connector architecture defines a set of well-defined properties all of type java.lang.String. |
String |
getConnectionFactoryImplClass()
The element connectionfactory-impl-class specifies the fully qualified name of the ConnectionFactory class that implements resource adapter specific ConnectionFactory interface. |
String |
getConnectionFactoryInterface()
The element connectionfactory-interface specifies the fully qualified name of the ConnectionFactory interface supported by the resource adapter |
String |
getConnectionImplClass()
The connection-impl-classType specifies the fully qualified name of the Connection class that implements resource adapter specific Connection interface. |
String |
getConnectionInterface()
The connection-interface element specifies the fully qualified name of the Connection interface supported by the resource adapter. |
String |
getManagedConnectionFactoryClass()
The element managedconnectionfactory-class specifies the fully qualified name of the Java class that implements the javax.resource.spi.ManagedConnectionFactory interface. |
boolean |
getReauthenticationSupport()
The element reauthentication-support specifies whether the resource adapter implementation supports re-authentication of existing Managed-Connection instance. |
String |
getTransactionSupport()
The transaction-supportType specifies the level of transaction support provided by the resource adapter. |
| Methods inherited from interface org.openmdx.kernel.application.deploy.spi.Deployment.Pool |
|---|
getInitialCapacity, getMaximumCapacity, getMaximumWait |
| Method Detail |
|---|
Map getConfigProperties()
A resource adapter provider can extend this property set to include properties specific to the resource adapter and its underlying EIS. Possible values include
String getManagedConnectionFactoryClass()
Example:
String getConnectionFactoryInterface()
Example:
String getConnectionFactoryImplClass()
Example:
String getConnectionInterface()
Example:
String getConnectionImplClass()
Example:
String getTransactionSupport()
The value must be one of the following:
List getAuthenticationMechanism()
Note that this support is for the resource adapter and not for the underlying EIS instance. The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.
boolean getReauthenticationSupport()
Note that this information is for the resource adapter implementation and not for the underlying EIS instance.
void deploy(Context containerContext,
Context applicationContext,
Reference reference)
throws NamingException
containerContext - components are registered in the containerContext
in order to be referenced by other components.
It's URL for LinkRef's is "openmdx:container".applicationContext - components may be registered in the applicationContext
for application internal link resolutions.
It's URL for LinkRef's is "openmdx:application".reference - Reference to the connection factory
NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||