/** * @deprecated As of Version 2.2, this method is replaced by * {@link #getAttribute} */ @Deprecated public Object getValue(String name) throws IllegalStateException { return getAttribute(name); }
/** * @deprecated As of Version 2.2, this method is replaced by * {@link #getAttribute} */ @Deprecated public Object getValue(String name) throws IllegalStateException { return getAttribute(name); }
/** * @deprecated As of Version 2.2, this method is replaced by * {@link #getAttribute} */ @Deprecated @Override public Object getValue(String name) throws IllegalStateException { return getAttribute(name); }
/** * @deprecated As of Version 2.2, this method is replaced by * {@link #getAttribute} */ @Deprecated public Object getValue(String name) throws IllegalStateException { return getAttribute(name); }
/** * @deprecated As of Version 2.2, this method is replaced by * {@link #getAttribute} */ @Deprecated public Object getValue(String name) throws IllegalStateException { return getAttribute(name); }
/** * @deprecated As of Version 2.2, this method is replaced by * {@link #getAttribute} */ @Deprecated @Override public Object getValue(String name) throws IllegalStateException { return getAttribute(name); }
/** * @deprecated As of Version 2.2, this method is replaced by * {@link #getAttribute} */ @Deprecated @Override public Object getValue(String name) throws IllegalStateException { return getAttribute(name); }
/** * @deprecated As of Version 2.2, this method is replaced by * {@link #getAttribute} */ @Deprecated public Object getValue(String name) throws IllegalStateException { return getAttribute(name); }
/** * @deprecated As of Version 2.2, this method is replaced by * {@link #getAttribute} */ @Deprecated @Override public Object getValue(String name) throws IllegalStateException { return getAttribute(name); }
public ISerializableSession create(AbstractSession session) { synchronized(session) { ISerializableSession s = create(session.getId(), session.getCreationTime(), session.getAccessed()); if (session.isValid()) { for (String key: session.getNames()) { s.setAttribute(key, session.getAttribute(key)); } } else { // we do not need to retrieve attributes of invalidated sessions since // they have been cleared on AbstractSession.invalidate(). s.setValid(false); } return s; } }