1 23 24 package com.sun.enterprise.deployment.runtime.web; 25 26 import com.sun.enterprise.deployment.runtime.RuntimeDescriptor; 27 28 35 public class SessionConfig extends RuntimeDescriptor 36 { 37 38 static public final String SESSION_MANAGER = "SessionManager"; static public final String SESSION_PROPERTIES = "SessionProperties"; static public final String COOKIE_PROPERTIES = "CookieProperties"; 42 public void setSessionManager(SessionManager value) 44 { 45 this.setValue(SESSION_MANAGER, value); 46 } 47 48 public SessionManager getSessionManager() 50 { 51 return (SessionManager)this.getValue(SESSION_MANAGER); 52 } 53 54 public void setSessionProperties(SessionProperties value) 56 { 57 this.setValue(SESSION_PROPERTIES, value); 58 } 59 60 public SessionProperties getSessionProperties() 62 { 63 return (SessionProperties)this.getValue(SESSION_PROPERTIES); 64 } 65 66 public void setCookieProperties(CookieProperties value) 68 { 69 this.setValue(COOKIE_PROPERTIES, value); 70 } 71 72 public CookieProperties getCookieProperties() 74 { 75 return (CookieProperties)this.getValue(COOKIE_PROPERTIES); 76 } 77 78 public boolean verify() 80 { 81 return true; 82 } 83 84 } 85 | Popular Tags |