org.apache.ode.ra

## Interface OdeConnection

- All Superinterfaces:
    javax.resource.cci.Connection

      public interface OdeConnection
      extends javax.resource.cci.Connection

  Interface providing access to a ODE domain from "external" entities such as administrative consoles, protocol stacks, and client applications.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ServiceProviderSession` | `createServiceProviderSession(java.lang.String serviceProviderUri, java.lang.Class sessionInterface)` Obtain access to a service provider belonging to this ODE domain through its client session interface.

    - ### Methods inherited from interface javax.resource.cci.Connection

      `close, createInteraction, getLocalTransaction, getMetaData, getResultSetInfo`

- - ### Method Detail

    - #### createServiceProviderSession

          ServiceProviderSession createServiceProviderSession(java.lang.String serviceProviderUri,
                                                            java.lang.Class sessionInterface)
                                                              throws OdeConnectionException

      Obtain access to a service provider belonging to this ODE domain through its client session interface.
      Parameters:
        `serviceProviderUri` - URI of the Service Provider
      Returns:
        possibly remote proxy to the Service Provider's client session interface.
      Throws:
        `OdeConnectionException`