org.apache.openjpa.lib.jdbc
public class JDBCEventConnectionDecorator extends AbstractConcurrentEventManager implements ConnectionDecorator
JDBCEvents.| 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 |
|---|---|
Connection |
decorate(Connection conn)
Decorate the given connection if desired.
|
protected void |
fireEvent(Object event,
Object listener)
Fire the given event to all listeners.
|
addListener, fireEvent, getListeners, hasListener, hasListeners, isFailFast, newListenerCollection, removeListener, setFailFastpublic Connection decorate(Connection conn)
ConnectionDecoratordecorate in interface ConnectionDecoratorprotected void fireEvent(Object event, Object listener)
fireEvent in class AbstractConcurrentEventManagerCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.