net.grinder.plugininterface
Interface PluginProcessContext


public interface PluginProcessContext

This class is used to share process information between the Grinder and the plug-in.

Author:
Paco Gomez, Philip Aston

Method Summary
 PluginThreadListener getPluginThreadListener()
          Returns the PluginThreadListener for the current thread.
 Grinder.ScriptContext getScriptContext()
          Returns the script context.
 StatisticsServices getStatisticsServices()
          Returns an interface through which statistics services can be obtained.
 TimeAuthority getTimeAuthority()
          Something that knows the time.
 

Method Detail

getScriptContext

Grinder.ScriptContext getScriptContext()
Returns the script context.

Returns:
The script context.

getPluginThreadListener

PluginThreadListener getPluginThreadListener()
                                             throws GrinderException
Returns the PluginThreadListener for the current thread. Instances are created by the plug-in's implementation of GrinderPlugin.createThreadListener(net.grinder.plugininterface.PluginThreadContext).

Returns:
The thread listener for the current thread.
Throws:
GrinderException - If the thread listener could not be obtained.

getStatisticsServices

StatisticsServices getStatisticsServices()
Returns an interface through which statistics services can be obtained.

Returns:
A StatisticsServices.

getTimeAuthority

TimeAuthority getTimeAuthority()
Something that knows the time.

Returns:
The time authority.


Copyright © 2000-2013. All Rights Reserved.