spring-framework / org.springframework.aop.aspectj / AspectJWeaverMessageHandler

AspectJWeaverMessageHandler

open class AspectJWeaverMessageHandler : IMessageHandler

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="..."/>

Author
Adrian Colyer

Author
Juergen Hoeller

Since
2.0

Constructors

<init>

AspectJWeaverMessageHandler()

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="..."/>

Functions

dontIgnore

open fun dontIgnore(messageKind: Kind): Unit

handleMessage

open fun handleMessage(message: IMessage): Boolean

ignore

open fun ignore(kind: Kind): Unit

isIgnoring

open fun isIgnoring(messageKind: Kind): Boolean