org.mortbay.j2ee.session
Class AroundInterceptor
java.lang.Object
org.mortbay.j2ee.session.StateInterceptor
org.mortbay.j2ee.session.AroundInterceptor
- All Implemented Interfaces:
- Cloneable, State
- Direct Known Subclasses:
- ValidatingInterceptor
public abstract class AroundInterceptor
- extends StateInterceptor
| Methods inherited from class org.mortbay.j2ee.session.StateInterceptor |
clone, getActualMaxInactiveInterval, getManager, getSession, getState, isValid, setManager, setSession, setState, start, stop, toString |
AroundInterceptor
public AroundInterceptor()
before
protected abstract void before()
after
protected abstract void after()
getCreationTime
public long getCreationTime()
throws RemoteException
- Specified by:
getCreationTime in interface State- Overrides:
getCreationTime in class StateInterceptor
- Throws:
RemoteException
getId
public String getId()
throws RemoteException
- Specified by:
getId in interface State- Overrides:
getId in class StateInterceptor
- Throws:
RemoteException
setLastAccessedTime
public void setLastAccessedTime(long time)
throws RemoteException
- Specified by:
setLastAccessedTime in interface State- Overrides:
setLastAccessedTime in class StateInterceptor
- Throws:
RemoteException
getLastAccessedTime
public long getLastAccessedTime()
throws RemoteException
- Specified by:
getLastAccessedTime in interface State- Overrides:
getLastAccessedTime in class StateInterceptor
- Throws:
RemoteException
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
throws RemoteException
- Specified by:
setMaxInactiveInterval in interface State- Overrides:
setMaxInactiveInterval in class StateInterceptor
- Throws:
RemoteException
getMaxInactiveInterval
public int getMaxInactiveInterval()
throws RemoteException
- Specified by:
getMaxInactiveInterval in interface State- Overrides:
getMaxInactiveInterval in class StateInterceptor
- Throws:
RemoteException
getAttribute
public Object getAttribute(String name)
throws RemoteException
- Specified by:
getAttribute in interface State- Overrides:
getAttribute in class StateInterceptor
- Throws:
RemoteException
getAttributeNameEnumeration
public Enumeration getAttributeNameEnumeration()
throws RemoteException
- Specified by:
getAttributeNameEnumeration in interface State- Overrides:
getAttributeNameEnumeration in class StateInterceptor
- Throws:
RemoteException
getAttributeNameStringArray
public String[] getAttributeNameStringArray()
throws RemoteException
- Specified by:
getAttributeNameStringArray in interface State- Overrides:
getAttributeNameStringArray in class StateInterceptor
- Throws:
RemoteException
setAttribute
public Object setAttribute(String name,
Object value,
boolean returnValue)
throws RemoteException
- Specified by:
setAttribute in interface State- Overrides:
setAttribute in class StateInterceptor
- Throws:
RemoteException
removeAttribute
public Object removeAttribute(String name,
boolean returnValue)
throws RemoteException
- Specified by:
removeAttribute in interface State- Overrides:
removeAttribute in class StateInterceptor
- Throws:
RemoteException
getAttributes
public Map getAttributes()
throws RemoteException
- Specified by:
getAttributes in interface State- Overrides:
getAttributes in class StateInterceptor
- Throws:
RemoteException
setAttributes
public void setAttributes(Map attributes)
throws RemoteException
- Specified by:
setAttributes in interface State- Overrides:
setAttributes in class StateInterceptor
- Throws:
RemoteException
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.