org.apache.myfaces.orchestra.lib
Class _ClassUtils

java.lang.Object
  extended by 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


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