1 16 package org.directwebremoting.extend; 17 18 import java.util.Map ; 19 20 24 public interface Creator 25 { 26 32 void setProperties(Map params) throws IllegalArgumentException ; 33 34 39 Class getType(); 40 41 46 Object getInstance() throws InstantiationException ; 47 48 52 String getScope(); 53 54 58 boolean isCacheable(); 59 60 64 String getJavascript(); 65 66 70 static final String APPLICATION = "application"; 71 72 77 static final String SESSION = "session"; 78 79 84 static final String SCRIPT = "script"; 85 86 93 static final String REQUEST = "request"; 94 95 100 static final String PAGE = "page"; 101 } 102 | Popular Tags |