Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.resource.connectionmanager
Interface ConnectionListenerFactory

All Known Implementing Classes:
  BaseConnectionManager2

public interface ConnectionListenerFactory

A factory for connection event listeners

Version:
  $Revision: 1.3 $
Author:
  Adrian Brock

Method Summary
`ConnectionListener` | `createConnectionListener(javax.resource.spi.ManagedConnection mc, Object context)` Create a managed connection listener for the managed connection
`TransactionManager` | `getTransactionManagerInstance()` Get the transaction manager
`boolean` | `isTransactional()` Determine whether is a transaction

Method Detail

### createConnectionListener

    public ConnectionListener createConnectionListener(javax.resource.spi.ManagedConnection mc,
                                                       Object context)
                                                throws javax.resource.ResourceException

  Create a managed connection listener for the managed connection

  Parameters:
    `mc` - the managed connection
    `context` - a context object used by the pool
  Returns:
    a new connection event listener
  Throws:
    `javax.resource.ResourceException` - for any error

### isTransactional

    public boolean isTransactional()

  Determine whether is a transaction

  Returns:
    whether there is a transaction

### getTransactionManagerInstance

    public TransactionManager getTransactionManagerInstance()

  Get the transaction manager

  Returns:
    the transaction manager

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.