Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.myfaces.orchestra.lib
Class _ClassUtils

    java.lang.Object
      org.apache.myfaces.orchestra.lib._ClassUtils

    public final class _ClassUtils

extends java.lang.Object

Internal helper class for some class management.

Not for use outside of Orchestra

Method Summary
`static java.lang.Class` | `classForName(java.lang.String className)` Lookup class using the webapp classloader first and the the classloader which loaded this class.
`static java.lang.Object` | `newInstance(java.lang.Class clazz)` Create a new instance for a class by its name
`static java.lang.Object` | `newInstance(java.lang.String className)` create a new instance for a class by its name

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### newInstance

    public static java.lang.Object newInstance(java.lang.Class clazz)

  Create a new instance for a class by its name

  Since:
    1.1

### newInstance

    public static java.lang.Object newInstance(java.lang.String className)

  create a new instance for a class by its name

### classForName

    public static java.lang.Class classForName(java.lang.String className)
                                        throws java.lang.ClassNotFoundException

  Lookup class using the webapp classloader first and the the classloader which loaded this class.

  Throws:
    `java.lang.ClassNotFoundException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation. All Rights Reserved.