|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.util.DefaultClassFactory
public class DefaultClassFactory
This default implementation of ClassFactoryInterface uses Class.forName() and Class.newInstance() to resolve and instantiate the specified class. Replace this class to handle ClassLoader limitations in your favorite environment.
| Constructor Summary | |
|---|---|
DefaultClassFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createInstance(java.lang.String classname)
Creates a default instance of an object of the specified class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultClassFactory()
| Method Detail |
|---|
public java.lang.Object createInstance(java.lang.String classname)
throws ClassFactoryException
createInstance in interface ClassFactoryInterfaceClassFactoryException - If there is a problem.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||