org.apache.openjpa.event
Interface LifecycleEventManager.ListenerAdapter

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-2008 Apache Software Foundation. All Rights Reserved.