| Package | Description | 
|---|---|
| javax.resource.spi | The javax.resource.spi package contains APIs for the system
contracts defined in the Java EE Connector Architecture specification. | 
| javax.resource.spi.security | The javax.resource.spi.security package contains APIs for the security
management contract. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | ConnectionManager. allocateConnection(ManagedConnectionFactory mcf,
                  ConnectionRequestInfo cxRequestInfo)The method allocateConnection gets called by the resource adapter's
  connection factory instance. | 
| void | LazyAssociatableConnectionManager. associateConnection(Object connection,
                   ManagedConnectionFactory mcf,
                   ConnectionRequestInfo cxReqInfo)This method is called by a resource adapter (that is capable of
 lazy connection association optimization) in order to lazily associate
 a connection object with a  ManagedConnectioninstance. | 
| void | LazyAssociatableConnectionManager. inactiveConnectionClosed(Object connection,
                        ManagedConnectionFactory mcf)This method is called by the resource adapter (that is capable of
 lazy connection association optimization) in order to notify the
 application server that a disassociated connection handle is closed. | 
| Modifier and Type | Method and Description | 
|---|---|
| ManagedConnectionFactory | PasswordCredential. getManagedConnectionFactory()Gets the target ManagedConnectionFactory for which the user name and 
  password has been set by the application server. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PasswordCredential. setManagedConnectionFactory(ManagedConnectionFactory mcf)Sets the target ManagedConenctionFactory instance for which the user 
   name and password has been set by the application server. | 
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.