## Uses of Interface
javax.resource.spi.ManagedConnection

- Packages that use ManagedConnection
  Package | Description
  --- | ---
  javax.resource.spi | The javax.resource.spi package contains APIs for the system contracts defined in the Java EE Connector Architecture specification.

- - ### Uses of ManagedConnection in javax.resource.spi

    Methods in javax.resource.spi that return ManagedConnection
    Modifier and Type | Method and Description
    --- | ---
    `ManagedConnection` | ManagedConnectionFactory.`createManagedConnection(Subject subject, ConnectionRequestInfo cxRequestInfo)` Creates a new physical connection to the underlying EIS resource manager.
    `ManagedConnection` | ManagedConnectionFactory.`matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo cxRequestInfo)` Returns a matched connection from the candidate set of connections.

    Methods in javax.resource.spi with parameters of type ManagedConnection
    Modifier and Type | Method and Description
    --- | ---
    `void` | LazyEnlistableConnectionManager.`lazyEnlist(ManagedConnection mc)` This method is called by a resource adapter (that is capable of lazy transaction enlistment optimization) in order to lazily enlist a connection object with a XA transaction.

    Constructors in javax.resource.spi with parameters of type ManagedConnection
    Constructor and Description
    `ConnectionEvent(ManagedConnection source, int eid)` Construct a ConnectionEvent object.
    `ConnectionEvent(ManagedConnection source, int eid, Exception exception)` Construct a ConnectionEvent object.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.