class SessionScopeExtractor implements AttributeExtractor {

    @Override
    public Object getValue(String key) {
        PortletSession session = request.getPortletSession(false);
        if (session != null) {
            return session.getAttribute(key, scope);
        }
        return null;
    }

    public  SessionScopeExtractor(PortletRequest request, int scope);

}