1 package org.apache.turbine.services.intake; 2 3 18 19 import java.beans.IntrospectionException ; 20 21 import java.lang.reflect.Method ; 22 23 import org.apache.turbine.services.intake.model.Group; 24 25 42 public interface IntakeService 43 { 44 47 String SERVICE_NAME = "IntakeService"; 48 49 52 String XML_PATH = "xml.path"; 53 54 57 String XML_PATH_DEFAULT = "WEB-INF/conf/intake.xml"; 58 59 63 String SERIAL_XML = "serialize.path"; 64 65 69 String SERIAL_XML_DEFAULT = "WEB-INF/appData.ser"; 70 71 74 int DEFAULT_POOL_CAPACITY = 1024; 75 76 84 Group getGroup(String groupName) 85 throws IntakeException; 86 87 93 void releaseGroup(Group instance) 94 throws IntakeException; 95 96 103 int getSize(String groupName) 104 throws IntakeException; 105 106 111 String [] getGroupNames(); 112 113 119 String getGroupKey(String groupName); 120 121 127 String getGroupName(String groupKey); 128 129 138 Method getFieldSetter(String className, String propName) 139 throws ClassNotFoundException , IntrospectionException ; 140 141 150 Method getFieldGetter(String className, String propName) 151 throws ClassNotFoundException , IntrospectionException ; 152 } 153 154 155 156 157 158 | Popular Tags |