View Javadoc

1   package org.catacomb.be;
2   
3   import java.lang.reflect.InvocationTargetException;
4   
5   
6   public interface Instantiator {
7   
8       Object newInstance(String s) throws ClassNotFoundException,
9           InstantiationException,
10          IllegalAccessException,
11          NoSuchMethodException;
12  
13      Object newInstance(String s, Object arg) throws ClassNotFoundException,
14          InstantiationException,
15          IllegalAccessException,
16          NoSuchMethodException,
17          IllegalArgumentException,
18          InvocationTargetException;
19  
20      Class<?> forName(String scl);
21  
22      Class<?> forName(String scl, boolean require);
23  
24      ClassLoader getLoader();
25  
26      void reset();
27  
28  }