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 Object

Internal helper class for some class management.

Not for use outside of Orchestra

Method Summary
`static Class` | `classForName(String className)` Lookup class using the webapp classloader first and the the classloader which loaded this class.
`static Object` | `newInstance(Class clazz)` Create a new instance for a class by its name
`static Object` | `newInstance(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 Object newInstance(Class clazz)

  Create a new instance for a class by its name

  Since:
    1.1

### newInstance

    public static Object newInstance(String className)

  create a new instance for a class by its name

### classForName

    public static Class classForName(String className)
                              throws ClassNotFoundException

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

  Throws:
    `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 © 2012 The Apache Software Foundation. All Rights Reserved.