1 package org.apache.fulcrum.intake; 2 3 56 57 import java.lang.reflect.Method ; 58 59 import org.apache.fulcrum.ServiceException; 60 import org.apache.fulcrum.intake.model.Group; 61 62 77 public interface IntakeService 78 { 79 82 public static final String SERVICE_NAME = "IntakeService"; 83 84 87 public static final String XML_PATH = "xml.path"; 88 89 92 public static final String XML_PATH_DEFAULT = "WEB-INF/conf/intake.xml"; 93 94 98 public static final String SERIAL_XML = "serialize.path"; 99 100 104 public static final String SERIAL_XML_DEFAULT = "WEB-INF/appData.ser"; 105 106 109 public static final int DEFAULT_POOL_CAPACITY = 1024; 110 111 119 public Group getGroup(String groupName) 120 throws ServiceException; 121 122 149 150 155 public void releaseGroup(Group instance); 156 157 162 public int getSize(String groupName); 163 164 169 public String [] getGroupNames(); 170 171 177 public String getGroupKey(String groupName); 178 179 185 public String getGroupName(String groupKey); 186 187 194 public Method getFieldSetter(String className, String propName); 195 196 203 public Method getFieldGetter(String className, String propName); 204 205 } 206 207 208 209 210 211 | Popular Tags |