public final class InterceptContext<V,R> extends Object
| Constructor and Description |
|---|
InterceptContext(Class<?> klass,
V target,
String methodName,
Class<?>[] argsType,
Object[] arguments) |
| Modifier and Type | Method and Description |
|---|---|
void |
doTerminate() |
Annotation[] |
getAnnotation() |
Object[] |
getArguments() |
long |
getEndTime() |
Throwable |
getFailureCause() |
Class<?> |
getKlass() |
Method |
getMethod() |
Object |
getObject(Object key) |
long |
getStartTime() |
V |
getTarget() |
boolean |
isSuccess() |
void |
markFail(Throwable failureCause) |
void |
markSuccess() |
void |
putObject(Object key,
Object value) |
public void doTerminate()
public Annotation[] getAnnotation()
public Object[] getArguments()
public long getEndTime()
public Throwable getFailureCause()
public Class<?> getKlass()
public Method getMethod()
public long getStartTime()
public V getTarget()
public boolean isSuccess()
public void markFail(Throwable failureCause)
public void markSuccess()
Copyright © 2015. All Rights Reserved.