org.mortbay.j2ee.session
Class AroundInterceptor

java.lang.Object
  extended by org.mortbay.j2ee.session.StateInterceptor
      extended by org.mortbay.j2ee.session.AroundInterceptor
All Implemented Interfaces:
Cloneable, State
Direct Known Subclasses:
ValidatingInterceptor

public abstract class AroundInterceptor
extends StateInterceptor


Constructor Summary
AroundInterceptor()
           
 
Method Summary
protected abstract  void after()
           
protected abstract  void before()
           
 Object getAttribute(String name)
           
 Enumeration getAttributeNameEnumeration()
           
 String[] getAttributeNameStringArray()
           
 Map getAttributes()
           
 long getCreationTime()
           
 String getId()
           
 long getLastAccessedTime()
           
 int getMaxInactiveInterval()
           
 Object removeAttribute(String name, boolean returnValue)
           
 Object setAttribute(String name, Object value, boolean returnValue)
           
 void setAttributes(Map attributes)
           
 void setLastAccessedTime(long time)
           
 void setMaxInactiveInterval(int interval)
           
 
Methods inherited from class org.mortbay.j2ee.session.StateInterceptor
clone, getActualMaxInactiveInterval, getManager, getSession, getState, isValid, setManager, setSession, setState, start, stop, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AroundInterceptor

public AroundInterceptor()
Method Detail

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.