/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.helion.j2mepp.zdalnakamera.serwlety;

import java.util.HashMap;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * Web application lifecycle listener.
 * @author kitikat
 */
public class SluchaczKontekstu implements ServletContextListener {

    public void contextInitialized(ServletContextEvent sce) {
        sce.getServletContext().setAttribute("dane", new HashMap<String, byte[]>());
    }

    public void contextDestroyed(ServletContextEvent sce) {
    }
}
