Package org.apache.openjpa.lib.jdbc
Class JDBCEventConnectionDecorator
- java.lang.Object
- 
- org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
- 
- org.apache.openjpa.lib.jdbc.JDBCEventConnectionDecorator
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- ConnectionDecorator,- EventManager
 
 public class JDBCEventConnectionDecorator extends AbstractConcurrentEventManager implements ConnectionDecorator Manages the firing ofJDBCEvents.- Author:
- Abe White
- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager_listeners
 
- 
 - 
Constructor SummaryConstructors Constructor Description JDBCEventConnectionDecorator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.Connectiondecorate(java.sql.Connection conn)Decorate the given connection if desired.protected voidfireEvent(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.AbstractConcurrentEventManageraddListener, fireEvent, getListeners, hasListener, hasListeners, isFailFast, newListenerCollection, removeListener, setFailFast
 
- 
 
- 
- 
- 
Method Detail- 
decoratepublic java.sql.Connection decorate(java.sql.Connection conn) Description copied from interface:ConnectionDecoratorDecorate the given connection if desired.- Specified by:
- decoratein interface- ConnectionDecorator
 
 - 
fireEventprotected void fireEvent(java.lang.Object event, java.lang.Object listener)Fire the given event to all listeners.- Specified by:
- fireEventin class- AbstractConcurrentEventManager
 
 
- 
 
-