Class JDBCEventConnectionDecorator

  extended by org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
      extended by org.apache.openjpa.lib.jdbc.JDBCEventConnectionDecorator
All Implemented Interfaces:
Serializable, ConnectionDecorator, EventManager

public class JDBCEventConnectionDecorator
extends AbstractConcurrentEventManager
implements ConnectionDecorator

Manages the firing of JDBCEvents.

Abe White
See Also:
Serialized Form

Field Summary
Fields inherited from class org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
Constructor Summary
Method Summary
 Connection decorate(Connection conn)
          Decorate the given connection if desired.
protected  void fireEvent(Object event, 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 Connection decorate(Connection conn)
Description copied from interface: ConnectionDecorator
Decorate the given connection if desired.

Specified by:
decorate in interface ConnectionDecorator


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.

This documentation is deprecated and will be removed in the next release of WebLogic Server.

Oracle Fusion Middleware Apache OpenJPA 1.1.0 API Reference
12c Release 1 (12.1.1)
Part Number E24398_01