org.apache.jetspeed.util.interceptors
Interface MethodReplayDecisionMaker
- All Known Implementing Classes:
- TransactionalMethodReplayDecisionMaker
public interface MethodReplayDecisionMaker
A interface which is akin to a gateway in BPMN notation. Concrete
implementations can make a decision as to whether or not a method invocation
should be replayed.
- Author:
- a336317
Method Summary |
boolean |
shouldReplay(org.aopalliance.intercept.MethodInvocation invocation,
Exception exception)
|
shouldReplay
boolean shouldReplay(org.aopalliance.intercept.MethodInvocation invocation,
Exception exception)
- Parameters:
invocation
- The MethodInvocation objectexception
- Exception thrown on previous invocation attempt
- Returns:
- True if we should replay the method, false otherwise
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.