All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.beans.dip.VetoableMethodListener
- public interface interface VetoableMethodListener
- extends EventListener
The VetoableMethodListener interface describes the listener to be notified
when a class fires a constrained MethodCall event.
- See Also:
- MethodCallEvent
-
handleVetoableMethod(MethodCallEvent)
- Manages a constrained MethodCall event.
-
recoverFromMethodVeto(MethodCallEvent)
- Manages recovery operations when
a constrained MethodCall event was vetoed.
handleVetoableMethod
public abstract void handleVetoableMethod(MethodCallEvent evt) throws MethodVetoException
- Manages a constrained MethodCall event.
- Parameters:
- evt - A MethodCallEvent object describing the event source
and the method that was called.
- Throws: MethodVetoException
- Thrown if the class implementing the
VetoableMethodListener interface
wants the method operation to be canceled.
recoverFromMethodVeto
public abstract void recoverFromMethodVeto(MethodCallEvent evt)
- Manages recovery operations when
a constrained MethodCall event was vetoed.
- Parameters:
- evt - A MethodCallEvent object describing the event source
and the method that was called.
All Packages Class Hierarchy This Package Previous Next Index