com.atlassian.confluence.cache
Class WarnBeforeMethodAdvice

java.lang.Object
  extended by com.atlassian.confluence.cache.WarnBeforeMethodAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.springframework.aop.BeforeAdvice, org.springframework.aop.MethodBeforeAdvice

Deprecated. Since 5.5. No replacement.

@Deprecated
public class WarnBeforeMethodAdvice
extends java.lang.Object
implements org.springframework.aop.MethodBeforeAdvice

Logs a warning before running the intercepted method.


Constructor Summary
WarnBeforeMethodAdvice(org.apache.log4j.Category log, java.text.MessageFormat format)
          Deprecated.  
 
Method Summary
 void before(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object target)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarnBeforeMethodAdvice

public WarnBeforeMethodAdvice(org.apache.log4j.Category log,
                              java.text.MessageFormat format)
Deprecated. 
Parameters:
log - the logger to log to
format - a format which gets passed two parameters: the class name and the method name
Method Detail

before

public void before(java.lang.reflect.Method method,
                   java.lang.Object[] args,
                   java.lang.Object target)
Deprecated. 
Specified by:
before in interface org.springframework.aop.MethodBeforeAdvice


Copyright © 2003-2014 Atlassian. All Rights Reserved.