scriptella.core
Class StatisticInterceptor

java.lang.Object
  extended by scriptella.core.ElementInterceptor
      extended by scriptella.core.StatisticInterceptor
All Implemented Interfaces:
ExecutableElement

public final class StatisticInterceptor
extends ElementInterceptor

Collects execution statistics.

Version:
1.0
Author:
Fyodor Kupolov

Constructor Summary
StatisticInterceptor(ExecutableElement next, Location location)
           
 
Method Summary
 void execute(DynamicContext ctx)
          Executes the element.
static ExecutableElement prepare(ExecutableElement next, Location location)
           
 
Methods inherited from class scriptella.core.ElementInterceptor
executeNext, getCtxDecorator, getNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticInterceptor

public StatisticInterceptor(ExecutableElement next,
                            Location location)
Method Detail

execute

public void execute(DynamicContext ctx)
Description copied from interface: ExecutableElement
Executes the element.

Note: the context may be decorated by DynamicContextDecorator.

Parameters:
ctx - context to use.

prepare

public static ExecutableElement prepare(ExecutableElement next,
                                        Location location)


Copyright © Copyright 2006-2009 The Scriptella Project Team.