Class InterceptionContext
java.lang.Object
org.distributeme.core.interceptor.InterceptionContext
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcurrentPhase.Getter for the fieldexception.Getter for the fieldlocalStore.Getter for the fieldreturnValue.voidsetCurrentPhase(InterceptionPhase currentPhase) Setter for the fieldcurrentPhase.voidsetException(Exception exception) Setter for the fieldexception.voidsetReturnValue(Object returnValue) Setter for the fieldreturnValue.toString()
-
Constructor Details
-
InterceptionContext
public InterceptionContext()
-
-
Method Details
-
getCurrentPhase
Getter for the field
currentPhase.- Returns:
- a
InterceptionPhaseobject.
-
setCurrentPhase
Setter for the field
currentPhase.- Parameters:
currentPhase- aInterceptionPhaseobject.
-
getReturnValue
Getter for the field
returnValue.- Returns:
- a
Objectobject.
-
setReturnValue
Setter for the field
returnValue.- Parameters:
returnValue- aObjectobject.
-
getException
Getter for the field
exception.- Returns:
- a
Exceptionobject.
-
setException
Setter for the field
exception.- Parameters:
exception- aExceptionobject.
-
getLocalStore
Getter for the field
localStore.- Returns:
- a
Mapobject.
-
toString
-