public class AspectJWeaverMessageHandler extends Object implements org.aspectj.bridge.IMessageHandler
IMessageHandler
interface that
routes AspectJ weaving messages through the same logging system as the
regular Spring messages.
Pass the option...
-XmessageHandlerClass:org.springframework.aop.aspectj.AspectJWeaverMessageHandler
to the weaver; for example, specifying the following in a
"META-INF/aop.xml
file:
<weaver options="..."/>
Constructor and Description |
---|
AspectJWeaverMessageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
dontIgnore(org.aspectj.bridge.IMessage.Kind messageKind) |
boolean |
handleMessage(org.aspectj.bridge.IMessage message) |
void |
ignore(org.aspectj.bridge.IMessage.Kind kind) |
boolean |
isIgnoring(org.aspectj.bridge.IMessage.Kind messageKind) |
public boolean handleMessage(org.aspectj.bridge.IMessage message) throws org.aspectj.bridge.AbortException
handleMessage
in interface org.aspectj.bridge.IMessageHandler
org.aspectj.bridge.AbortException
public boolean isIgnoring(org.aspectj.bridge.IMessage.Kind messageKind)
isIgnoring
in interface org.aspectj.bridge.IMessageHandler
public void dontIgnore(org.aspectj.bridge.IMessage.Kind messageKind)
dontIgnore
in interface org.aspectj.bridge.IMessageHandler
public void ignore(org.aspectj.bridge.IMessage.Kind kind)
ignore
in interface org.aspectj.bridge.IMessageHandler