KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > resource > spi > ManagedConnection

javax.resource.spi
Interface ManagedConnection

See Also:
Top Examples, Source Code, ManagedConnectionFactory, XAResource, LocalTransaction

public void addConnectionEventListener(ConnectionEventListener listener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void associateConnection(Object connection)
                         throws ResourceException
See Also:
ResourceAdapterInternalException, IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void cleanup()
             throws ResourceException
See Also:
IllegalStateException, ResourceAdapterInternalException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void destroy()
             throws ResourceException
See Also:
IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getConnection(Subject subject,
                            ConnectionRequestInfo cxRequestInfo)
                     throws ResourceException
See Also:
EISSystemException, CommException, SecurityException, ResourceAdapterInternalException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public LocalTransaction getLocalTransaction()
                                     throws ResourceException
See Also:
ResourceAdapterInternalException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public PrintWriter getLogWriter()
                         throws ResourceException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ManagedConnectionMetaData getMetaData()
                                      throws ResourceException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public XAResource getXAResource()
                         throws ResourceException
See Also:
ResourceAdapterInternalException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeConnectionEventListener(ConnectionEventListener listener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLogWriter(PrintWriter out)
                  throws ResourceException
See Also:
ResourceAdapterInternalException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags