com.cometway.util
Interface ClassFactoryInterface
- All Known Implementing Classes:
- DefaultClassFactory
public interface ClassFactoryInterface
This interface describes a method for creating new class instances.
|
Method Summary |
java.lang.Object |
createInstance(java.lang.String classname)
Creates a default instance of an object of the specified class. |
createInstance
java.lang.Object createInstance(java.lang.String classname)
throws ClassFactoryException
- Creates a default instance of an object of the specified class.
- Throws:
ClassFactoryException - If there is a problem.