org.springframework.aop.aspectj
Class AspectJWeaverMessageHandler
java.lang.Object
org.springframework.aop.aspectj.AspectJWeaverMessageHandler
public class AspectJWeaverMessageHandler
- extends java.lang.Object
Implementation of AspectJ's 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="..."/>
- Since:
- 2.0
- Author:
- Adrian Colyer, Juergen Hoeller
Field Summary |
private static java.lang.String |
AJ_ID
|
private static Log |
LOGGER
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AJ_ID
private static final java.lang.String AJ_ID
- See Also:
- Constant Field Values
LOGGER
private static final Log LOGGER
AspectJWeaverMessageHandler
public AspectJWeaverMessageHandler()
handleMessage
public boolean handleMessage(IMessage message)
throws AbortException
- Throws:
AbortException
makeMessageFor
private java.lang.String makeMessageFor(IMessage aMessage)
isIgnoring
public boolean isIgnoring(Kind messageKind)
dontIgnore
public void dontIgnore(Kind messageKind)
ignore
public void ignore(Kind kind)