public class InvocationContextImpl extends Object implements javax.interceptor.InvocationContext
Modifier and Type | Class and Description |
---|---|
static class |
InvocationContextImpl.InterceptorInvocation |
Constructor and Description |
---|
InvocationContextImpl(Object target,
Method method,
Object[] args,
List<InvocationContextImpl.InterceptorInvocation> chain) |
Modifier and Type | Method and Description |
---|---|
Constructor<?> |
getConstructor() |
Map<String,Object> |
getContextData() |
Method |
getMethod() |
Object[] |
getParameters() |
Object |
getTarget() |
Object |
getTimer() |
protected Object |
interceptorChainCompleted() |
protected Object |
invokeNext() |
Object |
proceed() |
void |
setParameters(Object[] params) |
public InvocationContextImpl(Object target, Method method, Object[] args, List<InvocationContextImpl.InterceptorInvocation> chain)
target
- method
- args
- chain
- protected Object interceptorChainCompleted() throws Exception
Exception
public Object proceed() throws Exception
proceed
in interface javax.interceptor.InvocationContext
Exception
public Object getTarget()
getTarget
in interface javax.interceptor.InvocationContext
public Method getMethod()
getMethod
in interface javax.interceptor.InvocationContext
public Constructor<?> getConstructor()
getConstructor
in interface javax.interceptor.InvocationContext
public Object[] getParameters() throws IllegalStateException
getParameters
in interface javax.interceptor.InvocationContext
IllegalStateException
public void setParameters(Object[] params) throws IllegalStateException, IllegalArgumentException
setParameters
in interface javax.interceptor.InvocationContext
IllegalStateException
IllegalArgumentException
public Map<String,Object> getContextData()
getContextData
in interface javax.interceptor.InvocationContext
public Object getTimer()
getTimer
in interface javax.interceptor.InvocationContext
Copyright © 2020 JBoss by Red Hat. All rights reserved.