, , , Aspect -, - () .
, , , , , Digest (Data), , .
. , , , , . :
public byte[] sign(byte[] data){
...
b = (Digester)AopContext.currentProxy()).Digest(Data);
...
return signature;
}
This completely binds your code with Spring AOP, and it makes the class itself aware that it is used in the context of the AOP that flies before the AOP.
source
share