Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
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 Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.