Example usage for org.apache.wicket.util.file FileCleaner destroy

List of usage examples for org.apache.wicket.util.file FileCleaner destroy

Introduction

In this page you can find the example usage for org.apache.wicket.util.file FileCleaner destroy.

Prototype

@Override
    public void destroy() 

Source Link

Usage

From source file:com.servoy.j2db.server.ngclient.MediaResourcesServlet.java

License:Open Source License

@Override
public void destroy() {
    super.destroy();
    cleanupDynamicMediasMap(true);/*from   w  w  w  . j av a  2  s. c om*/
    if (tempDir != null) {
        deleteAll(tempDir);
    }
    FileCleaner.destroy();
}