java.lang.Object
org.mortbay.j2ee.session.StateInterceptor
org.mortbay.j2ee.session.SynchronizingInterceptor
- All Implemented Interfaces:
- java.lang.Cloneable, State
- public class SynchronizingInterceptor
- extends StateInterceptor
| Methods inherited from class org.mortbay.j2ee.session.StateInterceptor |
clone, getActualMaxInactiveInterval, getCreationTime, getId, getManager, getSession, getState, isValid, setManager, setSession, setState, start, stop, toString |
_log
protected static final org.jboss.logging.Logger _log
_lastAccessedTimeLock
protected final java.lang.Object _lastAccessedTimeLock
_maxInactiveIntervalLock
protected final java.lang.Object _maxInactiveIntervalLock
_attributesLock
protected final java.lang.Object _attributesLock
SynchronizingInterceptor
public SynchronizingInterceptor()
setLastAccessedTime
public void setLastAccessedTime(long time)
throws java.rmi.RemoteException
- Specified by:
setLastAccessedTime in interface State- Overrides:
setLastAccessedTime in class StateInterceptor
getLastAccessedTime
public long getLastAccessedTime()
throws java.rmi.RemoteException
- Specified by:
getLastAccessedTime in interface State- Overrides:
getLastAccessedTime in class StateInterceptor
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
throws java.rmi.RemoteException
- Specified by:
setMaxInactiveInterval in interface State- Overrides:
setMaxInactiveInterval in class StateInterceptor
getMaxInactiveInterval
public int getMaxInactiveInterval()
throws java.rmi.RemoteException
- Specified by:
getMaxInactiveInterval in interface State- Overrides:
getMaxInactiveInterval in class StateInterceptor
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
throws java.rmi.RemoteException
- Specified by:
getAttribute in interface State- Overrides:
getAttribute in class StateInterceptor
getAttributeNameEnumeration
public java.util.Enumeration getAttributeNameEnumeration()
throws java.rmi.RemoteException
- Specified by:
getAttributeNameEnumeration in interface State- Overrides:
getAttributeNameEnumeration in class StateInterceptor
getAttributeNameStringArray
public java.lang.String[] getAttributeNameStringArray()
throws java.rmi.RemoteException
- Specified by:
getAttributeNameStringArray in interface State- Overrides:
getAttributeNameStringArray in class StateInterceptor
setAttribute
public java.lang.Object setAttribute(java.lang.String name,
java.lang.Object value,
boolean returnValue)
throws java.rmi.RemoteException
- Specified by:
setAttribute in interface State- Overrides:
setAttribute in class StateInterceptor
removeAttribute
public java.lang.Object removeAttribute(java.lang.String name,
boolean returnValue)
throws java.rmi.RemoteException
- Specified by:
removeAttribute in interface State- Overrides:
removeAttribute in class StateInterceptor
getAttributes
public java.util.Map getAttributes()
throws java.rmi.RemoteException
- Specified by:
getAttributes in interface State- Overrides:
getAttributes in class StateInterceptor
setAttributes
public void setAttributes(java.util.Map attributes)
throws java.rmi.RemoteException
- Specified by:
setAttributes in interface State- Overrides:
setAttributes in class StateInterceptor