class SessionScopeExtractor implements AttributeExtractor {

    @Override
    public Object getValue(String key) {
        if (context.getSession() == null) {
            return null;
        }
        return context.getAttribute(key, PageContext.SESSION_SCOPE);
    }

    public  SessionScopeExtractor(PageContext context);

}