| 
 | WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.bea.adapter.spi.ConnectionEventLogger
Used to log connection events
| Constructor Summary | |
| ConnectionEventLogger(LogContext logContext) | |
| Method Summary | |
|  void | connectionClosed(javax.resource.spi.ConnectionEvent event)A ManagedConnectioninstance calls this method to notify its
 registered set of listeners when an application component closes a
 connection handle. | 
|  void | connectionErrorOccurred(javax.resource.spi.ConnectionEvent event)A ManagedConnectioninstance calls this method to notify its
 registered set of listeners of the occurrance of a physical 
 connection-related error. | 
| protected  java.lang.String | getEventInfo(ILogger logger,
             javax.resource.spi.ConnectionEvent event) | 
| protected  java.lang.String | getEventTypeString(javax.resource.spi.ConnectionEvent event) | 
| protected  LogContext | getLogContext()Retrieves an object that determines the logging configuration for this instance in the logging framework. | 
| protected  ILogger | getLogger()Retrieves an object used to log information to. | 
|  void | localTransactionCommitted(javax.resource.spi.ConnectionEvent event)A ManagedConnectioninstance calls this method to notify its
 registered set of listeners of the occurrance of a transaction related 
 event. | 
|  void | localTransactionRolledback(javax.resource.spi.ConnectionEvent event)A ManagedConnectioninstance calls this method to notify its
 registered set of listeners of the occurrance of a transaction related 
 event. | 
|  void | localTransactionStarted(javax.resource.spi.ConnectionEvent event)A ManagedConnectioninstance calls this method to notify its
 registered set of listeners of the occurrance of a transaction related 
 event. | 
| Methods inherited from class java.lang.Object | 
| clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
| Constructor Detail | 
public ConnectionEventLogger(LogContext logContext)
| Method Detail | 
public void connectionClosed(javax.resource.spi.ConnectionEvent event)
ManagedConnection instance calls this method to notify its
 registered set of listeners when an application component closes a
 connection handle.  This method logs the event and destroys the connection.
event - - provides information about the source of a 
 connection-related event.public void connectionErrorOccurred(javax.resource.spi.ConnectionEvent event)
ManagedConnection instance calls this method to notify its
 registered set of listeners of the occurrance of a physical 
 connection-related error.  This method logs the event and destroys the 
 connection.
event - - provides information about the source of a 
 connection-related event.
protected java.lang.String getEventInfo(ILogger logger,
                                        javax.resource.spi.ConnectionEvent event)
protected java.lang.String getEventTypeString(javax.resource.spi.ConnectionEvent event)
protected LogContext getLogContext()
protected ILogger getLogger()
public void localTransactionCommitted(javax.resource.spi.ConnectionEvent event)
ManagedConnection instance calls this method to notify its
 registered set of listeners of the occurrance of a transaction related 
 event.  This method logs the event.
event - - provides information about the source of a 
 connection-related event.public void localTransactionRolledback(javax.resource.spi.ConnectionEvent event)
ManagedConnection instance calls this method to notify its
 registered set of listeners of the occurrance of a transaction related 
 event.  This method logs the event.
event - - provides information about the source of a 
 connection-related event.public void localTransactionStarted(javax.resource.spi.ConnectionEvent event)
ManagedConnection instance calls this method to notify its
 registered set of listeners of the occurrance of a transaction related 
 event.  This method logs the event.
event - - provides information about the source of a 
 connection-related event.| 
 | WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||