org.neo.swarm.interceptor.logging
Class JavaLoggingInterceptor

java.lang.Object
  extended byorg.neo.swarm.interceptor.logging.JavaLoggingInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, MethodInterceptor, java.io.Serializable

public class JavaLoggingInterceptor
extends java.lang.Object
implements MethodInterceptor

Author:
navery
See Also:
Serialized Form

Constructor Summary
JavaLoggingInterceptor(boolean enableLogging)
           
 
Method Summary
protected  java.util.logging.Logger getLogger(java.lang.Class clazz)
           
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaLoggingInterceptor

public JavaLoggingInterceptor(boolean enableLogging)
Method Detail

invoke

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

getLogger

protected java.util.logging.Logger getLogger(java.lang.Class clazz)


Copyright © 2001-2004 SWARM-ONE -First Generation (S)calable(W)ide(AR)ea(M)esh. All Rights Reserved.