org.apache.openjpa.event
Interface LifecycleEventManager.ListenerAdapter

All Known Implementing Classes:
PersistenceListenerAdapter
Enclosing class:
LifecycleEventManager

public static interface LifecycleEventManager.ListenerAdapter

Interface that facades to other lifecycle listener interfaces can implement to choose which events to respond to based on their delegate. This is more efficient than registering as a listener for all events but only responding to some.


Method Summary
 boolean respondsTo(int eventType)
          Return whether this instance responds to the given event type from LifecycleEvent.
 

Method Detail

respondsTo

boolean respondsTo(int eventType)
Return whether this instance responds to the given event type from LifecycleEvent.



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.