Package com.xceptance.xlt.api.engine
Interface SessionShutdownListener
-
public interface SessionShutdownListener
By implementing the
SessionShutdownListener
interface custom code gets the chance to be notified by the framework when the current session is about to be terminated (cleared). This is usually the point in time when one run of a test case has been finished. Now any resources held by custom code should be released.In order to be called, the listener must be registered via
Session.addShutdownListener(SessionShutdownListener)
. Note that all registered shutdown listeners are cleared when the session is cleared, so the listener must be re-registered with every new test case session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
shutdown()
Called from the framework when the session for the current thread is to be cleared.
-