com.retek.commons.util.profiling
Class ProfilingProxy

java.lang.Object
  extended bynet.innig.util.DelegatingProxy
      extended bynet.innig.util.LoggingProxy
          extended bynet.innig.util.Log4jLoggingProxy
              extended bycom.retek.commons.util.profiling.ProfilingProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class ProfilingProxy
extends net.innig.util.Log4jLoggingProxy


Field Summary
 
Fields inherited from class net.innig.util.DelegatingProxy
UNSUPPORTED_OPERATION_HANDLER
 
Constructor Summary
ProfilingProxy(java.lang.String layer, java.lang.String delegateName, java.lang.Object delegate, RetekLogger logger)
           
 
Method Summary
 java.lang.String getDelegateName()
           
protected  void logEnd(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object result, long time)
           
protected  void logError(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Throwable thrown, long time)
           
 
Methods inherited from class net.innig.util.Log4jLoggingProxy
getLogger, logStart, setEndLevel, setErrorLevel, setLevel, setStartLevel
 
Methods inherited from class net.innig.util.LoggingProxy
getDelegate, getEndMessage, getErrorMessage, getStartMessage, invoke, newProxyInstance
 
Methods inherited from class net.innig.util.DelegatingProxy
newProxyInstance, newProxyInstance, newProxyInstance, newProxyInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilingProxy

public ProfilingProxy(java.lang.String layer,
                      java.lang.String delegateName,
                      java.lang.Object delegate,
                      RetekLogger logger)
Method Detail

getDelegateName

public java.lang.String getDelegateName()

logEnd

protected void logEnd(java.lang.Object proxy,
                      java.lang.reflect.Method method,
                      java.lang.Object[] args,
                      java.lang.Object result,
                      long time)

logError

protected void logError(java.lang.Object proxy,
                        java.lang.reflect.Method method,
                        java.lang.Object[] args,
                        java.lang.Throwable thrown,
                        long time)


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25