1 48 49 package org.jpublish.action; 50 51 import com.anthonyeden.lib.config.Configuration; 52 import com.anthonyeden.lib.config.ConfigurationException; 53 import org.apache.commons.vfs.FileObject; 54 import org.jpublish.RequestContext; 55 56 62 63 public interface ScriptHandler { 64 65 70 71 public FileObject getFile(); 72 73 78 79 public void setFile(FileObject file); 80 81 88 89 public void set(String name, Object value, Class c); 90 91 99 100 public void execute(String name, String scriptText, RequestContext context, 101 Configuration configuration); 102 103 109 110 public void loadConfiguration(Configuration configuration) 111 throws ConfigurationException; 112 113 116 117 public void init(); 118 119 } 120 | Popular Tags |