1 package org.apache.turbine.services.factory; 2 3 18 19 import org.apache.turbine.util.TurbineException; 20 21 32 public interface Factory 33 { 34 41 void init(String className) 42 throws TurbineException; 43 44 50 Object getInstance() 51 throws TurbineException; 52 53 63 Object getInstance(ClassLoader loader) 64 throws TurbineException; 65 66 76 Object getInstance(Object [] params, 77 String [] signature) 78 throws TurbineException; 79 80 94 Object getInstance(ClassLoader loader, 95 Object [] params, 96 String [] signature) 97 throws TurbineException; 98 99 104 boolean isLoaderSupported(); 105 } 106 | Popular Tags |