/** * Set the session identifier for this session. * * @param id The new session identifier */ @Override public void setId(String id) { setId(id, true); }
/** * Set the session identifier for this session. * * @param id The new session identifier */ @Override public void setId(String id) { setId(id, true); }
/** * Set the session identifier for this session. * * @param id The new session identifier */ @Override public void setId(String id) { setId(id, true); }
/** * Set the session identifier for this session. * * @param id The new session identifier */ @Override public void setId(String id) { setId(id, true); }
/** * Set the session identifier for this session. * * @param id The new session identifier */ @Override public void setId(String id) { setId(id, true); }
/** * Set the session identifier for this session. * * @param id * The new session identifier */ @Override public void setId(String id) { super.setId(id, true); resetDeltaRequest(); }
/** * Set the session identifier for this session. * * @param id * The new session identifier */ @Override public void setId(String id) { super.setId(id, true); resetDeltaRequest(); }
/** * {@inheritDoc} */ @Override public void setId(String id, boolean notify) { super.setId(id, notify); resetDeltaRequest(); }
/** * {@inheritDoc} */ @Override public void setId(String id, boolean notify) { super.setId(id, notify); resetDeltaRequest(); }
/** * Set the session identifier for this session. * * @param id * The new session identifier */ @Override public void setId(String id) { super.setId(id, true); resetDeltaRequest(); }
/** * {@inheritDoc} */ @Override public void setId(String id, boolean notify) { super.setId(id, notify); resetDeltaRequest(); }
public org.apache.catalina.Session createSession(java.lang.String sessionId) { StandardSession session = (MongoSession) createEmptySession(); log.fine("Created session with id " + session.getIdInternal() + " ( " + sessionId + ")"); if (sessionId != null) { session.setId(sessionId); } return session; }
@Override public void setId(String id) { super.setId(id); newUnderlyingSession(id); attributes = session.getState(); }
private static Session createStandardSession(HttpSession newSession, Manager manager) { StandardSession stdSession = new StandardSession(manager); stdSession.setId(newSession.getId()); stdSession.setCreationTime(newSession.getCreationTime()); stdSession.setValid(true); stdSession.setMaxInactiveInterval(newSession.getMaxInactiveInterval()); Enumeration<String> attrNames = newSession.getAttributeNames(); while ( attrNames.hasMoreElements() ){ String attrName = attrNames.nextElement(); stdSession.setAttribute(attrName, newSession.getAttribute(attrName)); } return stdSession; }
protected ClusteredSession(org.apache.geronimo.clustering.Session session) { super(ClusteredManager.this); this.session = session; attributes = session.getState(); String sessionId = router.transformGlobalSessionIdToSessionId(session.getSessionId()); super.setId(sessionId); setValid(true); setNew(false); }