org.ow2.cmi.lb.decision
Interface DecisionManager<ReturnType>

Type Parameters:
ReturnType - the type of the returned value (can be Void)

public interface DecisionManager<ReturnType>

Encapsulates a decision and an eventually returned value.

Author:
The new CMI team

Nested Class Summary
static class DecisionManager.Decision
          Decisions.
 
Method Summary
 DecisionManager.Decision getDecision()
           
 ReturnType getRetVal()
           
 java.lang.Throwable getThrowable()
           
 

Method Detail

getDecision

DecisionManager.Decision getDecision()
Returns:
the decision

getRetVal

ReturnType getRetVal()
Returns:
the returned value

getThrowable

java.lang.Throwable getThrowable()
Returns:
an exception to throw


Copyright © 2009 OW2 Consortium. All Rights Reserved.