|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
org.apache.openjpa.lib.jdbc.JDBCEventConnectionDecorator
public class JDBCEventConnectionDecorator
Manages the firing of JDBCEvents.
| Field Summary |
|---|
| Fields inherited from class org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager |
|---|
_listeners |
| Constructor Summary | |
|---|---|
JDBCEventConnectionDecorator()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager |
|---|
addListener, fireEvent, getListeners, hasListener, hasListeners, isFailFast, newListenerCollection, removeListener, setFailFast |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDBCEventConnectionDecorator()
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||