Class InterceptionContext

java.lang.Object
org.distributeme.core.interceptor.InterceptionContext

public class InterceptionContext extends Object
The interception context indicates current progress and phase of the interception and also allows to store some local information to this call.
Version:
$Id: $Id
Author:
lrosenberg
  • Constructor Details

    • InterceptionContext

      public InterceptionContext()
  • Method Details

    • getCurrentPhase

      public InterceptionPhase getCurrentPhase()

      Getter for the field currentPhase.

      Returns:
      a InterceptionPhase object.
    • setCurrentPhase

      public void setCurrentPhase(InterceptionPhase currentPhase)

      Setter for the field currentPhase.

      Parameters:
      currentPhase - a InterceptionPhase object.
    • getReturnValue

      public Object getReturnValue()

      Getter for the field returnValue.

      Returns:
      a Object object.
    • setReturnValue

      public void setReturnValue(Object returnValue)

      Setter for the field returnValue.

      Parameters:
      returnValue - a Object object.
    • getException

      public Exception getException()

      Getter for the field exception.

      Returns:
      a Exception object.
    • setException

      public void setException(Exception exception)

      Setter for the field exception.

      Parameters:
      exception - a Exception object.
    • getLocalStore

      public Map getLocalStore()

      Getter for the field localStore.

      Returns:
      a Map object.
    • toString

      public String toString()
      Overrides:
      toString in class Object