src/it/finsiel/siged/mvc/plugin/PersistencePlugIn.java
public void destroy() {
        logger.debug("Finalizing plug in PersistencePlugin...");
        Iterator i = dataProviders.keySet().iterator();
        while (i.hasNext()) {
            try {
                String provider = (String) i.next();
                logger.debug("Finalizing Provider:" + provider);
                DataProvider dp = (DataProvider) dataProviders.get(provider);
                dp.finalize();
                servlet.getServletContext().removeAttribute(dp.getIdentifier());
                dp = null;
            } catch (Exception e) {
                logger.error("Error Finalizing Provider", e);
            }
        }
        dataProviders.clear();
        config = null;
    }
/**
     * Gracefully shut down this database, releasing any resources that were
     * allocated at initialization.
     */
Gracefully shut down this database, releasing any resources that were
allocated at initialization.
Gracefully shut down this database releasing any resources that were allocated at initialization .
public void destroy() {
        logger.debug("Finalizing plug in PersistencePlugin...");
        Iterator i = dataProviders.keySet().iterator();
        while (i.hasNext()) {
            try {
                String provider = (String) i.next();
                logger.debug("Finalizing Provider:" + provider);
                DataProvider dp = (DataProvider) dataProviders.get(provider);
                dp.finalize();
                servlet.getServletContext().removeAttribute(dp.getIdentifier());
                dp = null;
            } catch (Exception e) {
                logger.error("Error Finalizing Provider", e);
            }
        }
        dataProviders.clear();
        config = null;
    }
public void destroy ( ) { logger . debug ( "Finalizing plug in PersistencePlugin..." ) ; Iterator i = dataProviders . keySet ( ) . iterator ( ) ; while ( i . hasNext ( ) ) { try { String provider = ( String ) i . next ( ) ; logger . debug ( "Finalizing Provider:" + provider ) ; DataProvider dp = ( DataProvider ) dataProviders . get ( provider ) ; dp . finalize ( ) ; servlet . getServletContext ( ) . removeAttribute ( dp . getIdentifier ( ) ) ; dp = null ; } catch ( Exception e ) { logger . error ( "Error Finalizing Provider" , e ) ; } } dataProviders . clear ( ) ; config = null ; }
Gracefully shut down this database, releasing any resources that were
 allocated at initialization.
Gracefully shut down this database releasing any resources that were allocated at initialization .