1 2 24 25 package com.lutris.appserver.server.sessionEnhydra; 26 27 import java.io.Serializable ; 28 29 import com.lutris.appserver.server.session.SessionData; 30 import com.lutris.util.KeywordValueException; 31 32 40 public class PagedSessionData extends SessionData { 41 42 53 public synchronized void set(String keyword, Object value) 54 throws KeywordValueException { 55 if (!(value instanceof Serializable )) { 56 throw new KeywordValueException("Value must be serializable."); 57 } 58 super.set(keyword, value); 59 } 60 61 } 62 63 | Popular Tags |