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:
- Serializable, ConnectionDecorator, EventManager
public class JDBCEventConnectionDecorator
- extends AbstractConcurrentEventManager
- implements ConnectionDecorator
Manages the firing of JDBCEvent
s.
- Author:
- Abe White
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCEventConnectionDecorator
public JDBCEventConnectionDecorator()
decorate
public Connection decorate(Connection conn)
- Description copied from interface:
ConnectionDecorator
- Decorate the given connection if desired.
- Specified by:
decorate
in interface ConnectionDecorator
fireEvent
protected void fireEvent(Object event,
Object listener)
- Fire the given event to all listeners.
- Specified by:
fireEvent
in class AbstractConcurrentEventManager
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.