(incubating) | The Free and Open Productivity Suite
OOoRunner test harness

lib
Class DynamicClassLoader

java.lang.Object
  |
  +--lib.DynamicClassLoader

public class DynamicClassLoader
extends Object


Constructor Summary
DynamicClassLoader()
           
 
Method Summary
static Class forName(String className)
          This method returns a class created by it's name created by call to Class.forName().
 Object getInstance(String className)
           
 Object getInstance(String className, Object[] ctorArgs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicClassLoader

public DynamicClassLoader()
Method Detail

forName

public static Class forName(String className)
                     throws ClassNotFoundException
This method returns a class created by it's name created by call to Class.forName().

This method must be overloaded if another loading policy is required for Component and Interface testing classes.


getInstance

public Object getInstance(String className)
                   throws IllegalArgumentException

getInstance

public Object getInstance(String className,
                          Object[] ctorArgs)
                   throws IllegalArgumentException

OOoRunner test harness

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.