package common.components;

import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * Class common.components.SessionContextTestComponent
 *
 * &copy; 2002-2003 MassOne Mobile Advertising Systems Ltd<br>
 *
 * @author bungle
 */
public class SessionContextTestComponent implements SessionContextComponent {

    private HttpSession context;

    public String getName() {
        return SessionContextTestComponent.class.getName();
    }

    public String getSessionId() {
        return context.getId();
    }

    public void setSessionContext(HttpSession context) {
        this.context = context;
    }

    public void setAttributes(Map attributes) {
    }

}