public class AspectJWeaverMessageHandler
extends java.lang.Object
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="..."/>
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
AJ_ID |
private static Log |
logger |
Constructor and Description |
---|
AspectJWeaverMessageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
dontIgnore(Kind messageKind) |
boolean |
handleMessage(IMessage message) |
void |
ignore(Kind kind) |
boolean |
isIgnoring(Kind messageKind) |
private java.lang.String |
makeMessageFor(IMessage aMessage) |
private static final java.lang.String AJ_ID
private static final Log logger
public boolean handleMessage(IMessage message) throws AbortException
AbortException
private java.lang.String makeMessageFor(IMessage aMessage)
public boolean isIgnoring(Kind messageKind)
public void dontIgnore(Kind messageKind)
public void ignore(Kind kind)