1 23 24 package com.sun.enterprise.deployment.runtime.web; 25 26 import com.sun.enterprise.deployment.runtime.RuntimeDescriptor; 27 28 35 public class SessionManager extends RuntimeDescriptor 36 { 37 38 static public final String MANAGER_PROPERTIES = "ManagerProperties"; static public final String STORE_PROPERTIES = "StoreProperties"; static public final String PERSISTENCE_TYPE = "PersistenceType"; 41 42 public SessionManager() 43 { 44 setAttributeValue(PERSISTENCE_TYPE, "memory"); 45 } 46 47 public void setManagerProperties(ManagerProperties value) 49 { 50 this.setValue(MANAGER_PROPERTIES, value); 51 } 52 53 public ManagerProperties getManagerProperties() 55 { 56 return (ManagerProperties)this.getValue(MANAGER_PROPERTIES); 57 } 58 59 public void setStoreProperties(StoreProperties value) 61 { 62 this.setValue(STORE_PROPERTIES, value); 63 } 64 65 public StoreProperties getStoreProperties() 67 { 68 return (StoreProperties)this.getValue(STORE_PROPERTIES); 69 } 70 71 public boolean verify() 73 { 74 return true; 75 } 76 } 77 | Popular Tags |