1 package org.apache.turbine.services.rundata; 2 3 56 57 import javax.servlet.ServletConfig ; 58 import javax.servlet.http.HttpServletRequest ; 59 import javax.servlet.http.HttpServletResponse ; 60 import org.apache.turbine.RunData; 61 import org.apache.fulcrum.ServiceException; 62 import org.apache.fulcrum.Service; 63 64 74 public interface RunDataService 75 extends Service 76 { 77 80 public static final String SERVICE_NAME = "RunDataService"; 81 82 85 public static final String DEFAULT_CONFIG = "default"; 86 87 96 public RunData getRunData(HttpServletRequest req, 97 HttpServletResponse res, 98 ServletConfig config) 99 throws ServiceException; 100 101 111 public RunData getRunData(String key, 112 HttpServletRequest req, 113 HttpServletResponse res, 114 ServletConfig config) 115 throws ServiceException; 116 117 123 public boolean putRunData(RunData data); 124 } 125 | Popular Tags |