kr.co.hit.live.aop.intercept
Class SimpleLogInterceptor

java.lang.Object
  extended by kr.co.hit.live.aop.intercept.SimpleLogInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class SimpleLogInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor

메소드 호출 로그 출력용 MethodInterceptor의 구현

Author:
김형도

Constructor Summary
SimpleLogInterceptor()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 void setShowArgument(boolean flag)
           
 void setShowReturn(boolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLogInterceptor

public SimpleLogInterceptor()
Method Detail

setShowArgument

public void setShowArgument(boolean flag)

setShowReturn

public void setShowReturn(boolean flag)

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable


Copyright © 2014. All Rights Reserved.