Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.context.bound;
 
 
 import java.util.Map;
 
    public BoundConversationContextImpl(String contextId) {
        super(contextId);
    }
    @Override
    protected void setSessionAttribute(BoundRequest requestString nameObject valueboolean create) {
        request.getSessionMap(create).put(namevalue);
    }
    @Override
    protected Object getSessionAttribute(BoundRequest requestString nameboolean create) {
        return request.getSessionMap(create).get(name);
    }
    @Override
    protected void removeRequestAttribute(BoundRequest requestString name) {
        request.getRequestMap().remove(name);
    }
    @Override
    protected void setRequestAttribute(BoundRequest requestString nameObject value) {
        request.getRequestMap().put(namevalue);
    }
    @Override
    protected Object getRequestAttribute(BoundRequest requestString name) {
        return request.getRequestMap().get(name);
    }
    @Override
    protected BoundBeanStore createRequestBeanStore(NamingScheme namingSchemeBoundRequest request) {
        return new MapBeanStore(namingSchemerequest.getSessionMap(false));
    }
    @Override
    protected BoundBeanStore createSessionBeanStore(NamingScheme namingSchemeMap<StringObjectsession) {
        return new MapBeanStore(namingSchemesession);
    }
    @Override
    protected Object getSessionAttributeFromSession(Map<StringObjectsessionString name) {
        return session.get(name);
    }
    @Override
    protected Map<StringObjectgetSessionFromRequest(BoundRequest requestboolean create) {
        return request.getSessionMap(create);
    }
New to GrepCode? Check out our FAQ X