public abstract class AbstractSignatureInterceptor extends AbstractInterceptor
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
KEY_FIELD_ALGORITHM |
protected String |
KEY_FIELD_KEY_ID |
protected String |
KEY_FIELD_NOISE |
protected String |
KEY_FIELD_SIGN |
| 构造器和说明 |
|---|
AbstractSignatureInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
accept(RuntimeContext context) |
Object |
after(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint,
Object result) |
protected Map<String,Object> |
beanToMap(Object bean) |
void |
before(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint) |
protected Map<String,Object> |
buildContent(AbstractUnit unit,
Object[] args) |
protected abstract String |
dataToString(byte[] data) |
int |
getOrder() |
protected String |
methodToProperty(Method method) |
protected void |
setArgument(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint,
String parameterName,
Object value) |
getContext, onErrorpublic int getOrder()
public boolean accept(RuntimeContext context)
public void before(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint)
before 在接口中 ConcreteInterceptorbefore 在类中 AbstractInterceptorpublic Object after(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint, Object result)
after 在接口中 ConcreteInterceptorafter 在类中 AbstractInterceptorprotected Map<String,Object> buildContent(AbstractUnit unit, Object[] args)
protected void setArgument(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint, String parameterName, Object value)
protected abstract String dataToString(byte[] data)
protected Map<String,Object> beanToMap(Object bean) throws InvocationTargetException, IllegalAccessException
Copyright © 2018. All rights reserved.