Class StaticAnalysisContext
- java.lang.Object
-
- fish.payara.microprofile.faulttolerance.policy.StaticAnalysisContext
-
- All Implemented Interfaces:
jakarta.interceptor.InvocationContext
public final class StaticAnalysisContext extends Object implements jakarta.interceptor.InvocationContext
AInvocationContextused during static analysis.- Author:
- Jan Bernitt
-
-
Constructor Summary
Constructors Constructor Description StaticAnalysisContext(Class<?> targetClass, Method annotated)StaticAnalysisContext(Object target, Method annotated, Object... arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constructor<?>getConstructor()Map<String,Object>getContextData()MethodgetMethod()Object[]getParameters()ObjectgetTarget()ObjectgetTimer()Objectproceed()voidsetParameters(Object[] params)StringtoString()
-
-
-
Method Detail
-
getTarget
public Object getTarget()
- Specified by:
getTargetin interfacejakarta.interceptor.InvocationContext
-
getTimer
public Object getTimer()
- Specified by:
getTimerin interfacejakarta.interceptor.InvocationContext
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfacejakarta.interceptor.InvocationContext
-
getConstructor
public Constructor<?> getConstructor()
- Specified by:
getConstructorin interfacejakarta.interceptor.InvocationContext
-
getParameters
public Object[] getParameters()
- Specified by:
getParametersin interfacejakarta.interceptor.InvocationContext
-
setParameters
public void setParameters(Object[] params)
- Specified by:
setParametersin interfacejakarta.interceptor.InvocationContext
-
getContextData
public Map<String,Object> getContextData()
- Specified by:
getContextDatain interfacejakarta.interceptor.InvocationContext
-
proceed
public Object proceed() throws Exception
- Specified by:
proceedin interfacejakarta.interceptor.InvocationContext- Throws:
Exception
-
-