1 17 18 19 package org.apache.catalina; 20 21 22 import java.beans.PropertyChangeListener ; 23 import java.io.IOException ; 24 25 26 36 37 public interface Store { 38 39 40 42 43 48 public String getInfo(); 49 50 51 54 public Manager getManager(); 55 56 57 62 public void setManager(Manager manager); 63 64 65 70 public int getSize() throws IOException ; 71 72 73 75 76 81 public void addPropertyChangeListener(PropertyChangeListener listener); 82 83 84 91 public String [] keys() throws IOException ; 92 93 94 104 public Session load(String id) 105 throws ClassNotFoundException , IOException ; 106 107 108 117 public void remove(String id) throws IOException ; 118 119 120 123 public void clear() throws IOException ; 124 125 126 131 public void removePropertyChangeListener(PropertyChangeListener listener); 132 133 134 142 public void save(Session session) throws IOException ; 143 144 145 } 146 | Popular Tags |