Package fr.ifremer.isisfish.aspect
Class CommonsLoggingMessageHandler
java.lang.Object
fr.ifremer.isisfish.aspect.CommonsLoggingMessageHandler
- All Implemented Interfaces:
org.aspectj.bridge.IMessageHandler
public class CommonsLoggingMessageHandler
extends Object
implements org.aspectj.bridge.IMessageHandler
Handler utilisé pour surcharger le logging par defaut dans STD_ERR.
-
Field Summary
Fields inherited from interface org.aspectj.bridge.IMessageHandler
SYSTEM_ERR, SYSTEM_OUT, THROW
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dontIgnore
(org.aspectj.bridge.IMessage.Kind kind) boolean
handleMessage
(org.aspectj.bridge.IMessage message) void
ignore
(org.aspectj.bridge.IMessage.Kind kind) boolean
isIgnoring
(org.aspectj.bridge.IMessage.Kind kind)
-
Field Details
-
log
protected org.apache.commons.logging.Log log
-
-
Constructor Details
-
CommonsLoggingMessageHandler
public CommonsLoggingMessageHandler()
-
-
Method Details
-
handleMessage
public boolean handleMessage(org.aspectj.bridge.IMessage message) throws org.aspectj.bridge.AbortException - Specified by:
handleMessage
in interfaceorg.aspectj.bridge.IMessageHandler
- Throws:
org.aspectj.bridge.AbortException
-
isIgnoring
public boolean isIgnoring(org.aspectj.bridge.IMessage.Kind kind) - Specified by:
isIgnoring
in interfaceorg.aspectj.bridge.IMessageHandler
-
dontIgnore
public void dontIgnore(org.aspectj.bridge.IMessage.Kind kind) - Specified by:
dontIgnore
in interfaceorg.aspectj.bridge.IMessageHandler
-
ignore
public void ignore(org.aspectj.bridge.IMessage.Kind kind) - Specified by:
ignore
in interfaceorg.aspectj.bridge.IMessageHandler
-