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
    Modifier and Type
    Field
    Description
    protected org.apache.commons.logging.Log
     

    Fields inherited from interface org.aspectj.bridge.IMessageHandler

    SYSTEM_ERR, SYSTEM_OUT, THROW
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.aspectj.bridge.IMessageHandler
      Throws:
      org.aspectj.bridge.AbortException
    • isIgnoring

      public boolean isIgnoring(org.aspectj.bridge.IMessage.Kind kind)
      Specified by:
      isIgnoring in interface org.aspectj.bridge.IMessageHandler
    • dontIgnore

      public void dontIgnore(org.aspectj.bridge.IMessage.Kind kind)
      Specified by:
      dontIgnore in interface org.aspectj.bridge.IMessageHandler
    • ignore

      public void ignore(org.aspectj.bridge.IMessage.Kind kind)
      Specified by:
      ignore in interface org.aspectj.bridge.IMessageHandler