Collaboration API Documentation

com.filenet.bso.api.util
Class BsoObjectUtil

java.lang.Object
  |
  +--com.filenet.bso.api.util.BsoObjectUtil

public class BsoObjectUtil
extends java.lang.Object

The BsoObjectUtil class provides a set of static helper methods for creating Java objects via reflection.


Method Summary
static java.lang.Object createObject(java.lang.String className)
          Creates the object specified by the class name path.
static java.lang.Object createObject(java.lang.String className, java.lang.Object[] constructorParameters, java.lang.Class[] constructorTypes)
          Creates the object specified by the class name path, passing the given parameters to the object's constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createObject

public static java.lang.Object createObject(java.lang.String className)
Creates the object specified by the class name path.

Parameters:
className - A String containing the object's class name.

Throws:
BsoRuntimeException - Thrown if error occurs during object creation.

createObject

public static java.lang.Object createObject(java.lang.String className,
                                            java.lang.Object[] constructorParameters,
                                            java.lang.Class[] constructorTypes)
Creates the object specified by the class name path, passing the given parameters to the object's constructor.

Parameters:
className - A String containing the object's class name.

Throws:
BsoRuntimeException - Thrown if error occurs during object creation.

Collaboration API Documentation

Copyright © 2002 - 2004 FileNet Corporation. All rights reserved.