1 16 package org.mortbay.j2ee.session; 17 18 20 import java.rmi.RemoteException ; 21 import java.util.Enumeration ; 22 import java.util.Map ; 23 24 26 29 33 35 42 public interface 43 State 44 { 45 String getId() throws RemoteException ; 47 int getActualMaxInactiveInterval() throws RemoteException ; 48 long getCreationTime() throws RemoteException ; 49 50 Map getAttributes() throws RemoteException ; 52 void setAttributes(Map attributes) throws RemoteException ; 53 long getLastAccessedTime() throws RemoteException ; 54 void setLastAccessedTime(long time) throws RemoteException ; 55 int getMaxInactiveInterval() throws RemoteException ; 56 void setMaxInactiveInterval(int interval) throws RemoteException ; 57 58 Object getAttribute(String name) throws RemoteException ; 60 Object setAttribute(String name, Object value, boolean returnValue) throws RemoteException ; 61 Object removeAttribute(String name, boolean returnValue) throws RemoteException ; 62 Enumeration getAttributeNameEnumeration() throws RemoteException ; 63 String [] getAttributeNameStringArray() throws RemoteException ; 64 boolean isValid() throws RemoteException ; 65 } 66 67 | Popular Tags |