Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.deegree.framework.util
Class ProfilerInterceptor

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

    public class ProfilerInterceptor

extends Interceptor

Interceptor to profile the application.

Since:
  2.0
Version:
  2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
  Torsten Friebe , last edited by: $Author: mschneider $
See Also:
  Chain of Responsibility Design Pattern

Nested Class Summary
`(package private) static class` | `ProfilerInterceptor.ProfileEntry` `ProfileEntry` simple wrapper to be used ad a profile entry

Field Summary
`protected static HashMap<String,ProfilerInterceptor.ProfileEntry>` | `data` data to be used

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)` Do an invocation of the given method while being able to something else first.
`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

  data to be used

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

  Description copied from class: `Interceptor`
  Do an invocation of the given method while being able to something else first.

  Specified by:
    `handleInvocation` in class `Interceptor`
  Parameters:
    `method` -
    `params` -
  Returns:
    -
  Throws:
    `IllegalAccessException`
    `InvocationTargetException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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