org.apache.wicket
Interface IDestroyer
public interface IDestroyer
Optional interface for initializers
that can clean up stuff initializers
created. Initializers simple have to implement this interface and do their thing in
destroy(Application)
.
Destroyers can be used to cleanup code when the application unloads. It only guarantees a best
effort of cleaning up. Typically, for web applications, this is called when the Wicket servlet/
filter is unloaded by the container, which may depend on the container's implementation and
things like the time out period it uses and whether all threads of the web app were cleared.
- Author:
- Eelco Hillenius
destroy
void destroy(Application application)
- Parameters:
application
- The application loading the component
Copyright © 2004-2008 Apache Software Foundation. All Rights Reserved.