toolbox.web
Class AppFinaliser

Package class diagram package AppFinaliser
java.lang.Object
  extended by toolbox.web.AppFinaliser
All Implemented Interfaces:
Finaliser

public class AppFinaliser
extends java.lang.Object
implements Finaliser

Destroys all application environment related resources within a web application.


Constructor Summary
AppFinaliser()
          Default constructor
 
Method Summary
 void finalise()
          Destroy the application environment configured in the configuration file.
 void init(javax.servlet.ServletContext context)
          Initialise the finaliser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppFinaliser

public AppFinaliser()
Default constructor

Method Detail

init

public void init(javax.servlet.ServletContext context)
Initialise the finaliser.

Specified by:
init in interface Finaliser
Parameters:
context - The current servlet context.

finalise

public void finalise()
Destroy the application environment configured in the configuration file.

Specified by:
finalise in interface Finaliser