1 package org.apache.turbine.services.factory; 2 3 18 19 import org.apache.turbine.services.Service; 20 import org.apache.turbine.util.TurbineException; 21 22 31 public interface FactoryService 32 extends Service 33 { 34 37 String SERVICE_NAME = "FactoryService"; 38 39 46 Object getInstance(String className) 47 throws TurbineException; 48 49 60 Object getInstance(String className, 61 ClassLoader loader) 62 throws TurbineException; 63 64 75 Object getInstance(String className, 76 Object [] params, 77 String [] signature) 78 throws TurbineException; 79 80 95 Object getInstance(String className, 96 ClassLoader loader, 97 Object [] params, 98 String [] signature) 99 throws TurbineException; 100 101 108 boolean isLoaderSupported(String className) 109 throws TurbineException; 110 111 122 Class [] getSignature(Class clazz, 123 Object params[], 124 String signature[]) 125 throws ClassNotFoundException ; 126 } 127 | Popular Tags |