public class JDBCEventConnectionDecorator extends AbstractConcurrentEventManager implements ConnectionDecorator
JDBCEvent
s.Modifier and Type | Class and Description |
---|---|
protected class |
JDBCEventConnectionDecorator.EventConnection
Fires events as appropriate.
|
protected class |
JDBCEventConnectionDecorator.EventPreparedStatement
Fires events as appropriate.
|
protected class |
JDBCEventConnectionDecorator.EventStatement
Fires events as appropriate.
|
_listeners
Constructor and Description |
---|
JDBCEventConnectionDecorator() |
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
decorate(java.sql.Connection conn)
Decorate the given connection if desired.
|
protected void |
fireEvent(java.lang.Object event,
java.lang.Object listener)
Fire the given event to all listeners.
|
addListener, fireEvent, getListeners, hasListener, hasListeners, isFailFast, newListenerCollection, removeListener, setFailFast
public java.sql.Connection decorate(java.sql.Connection conn)
ConnectionDecorator
decorate
in interface ConnectionDecorator
protected void fireEvent(java.lang.Object event, java.lang.Object listener)
fireEvent
in class AbstractConcurrentEventManager