deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.framework.util
Class ProfilerInterceptor

java.lang.Object
  extended by org.deegree.framework.util.Interceptor
      extended by org.deegree.framework.util.ProfilerInterceptor

public class ProfilerInterceptor
extends Interceptor

Interceptor to profile the application.

Since:
2.0
Version:
2.0, $Revision: 9339 $, $Date: 2007-12-27 13:31:52 +0100 (Do, 27 Dez 2007) $
Author:
Torsten Friebe , last edited by: $Author: apoth $
See Also:
Chain of Responsibility Design Pattern

Nested Class Summary
(package private) static class ProfilerInterceptor.ProfileEntry
           
 
Field Summary
protected static HashMap<String,ProfilerInterceptor.ProfileEntry> data
           
 
Fields inherited from class org.deegree.framework.util.Interceptor
LOG, nextInterceptor
 
Constructor Summary
ProfilerInterceptor(Interceptor nextInterceptor)
           
 
Method Summary
protected static ProfilerInterceptor.ProfileEntry getEntry(String m)
           
protected  Object handleInvocation(Method method, Object[] params)
           
protected static void printStats()
           
 
Methods inherited from class org.deegree.framework.util.Interceptor
getTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected static HashMap<String,ProfilerInterceptor.ProfileEntry> data
Constructor Detail

ProfilerInterceptor

public ProfilerInterceptor(Interceptor nextInterceptor)
Parameters:
nextInterceptor -
Method Detail

printStats

protected static void printStats()

getEntry

protected static ProfilerInterceptor.ProfileEntry getEntry(String m)
Parameters:
m -
Returns:
named ProfileEntry

handleInvocation

protected Object handleInvocation(Method method,
                                  Object[] params)
                           throws IllegalAccessException,
                                  InvocationTargetException
Specified by:
handleInvocation in class Interceptor
Parameters:
method -
params -
Returns:
-
Throws:
IllegalAccessException
InvocationTargetException

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net