|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ideo.sweetdevria.util.ClassUtils
public class ClassUtils
| Constructor Summary | |
|---|---|
ClassUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.Class |
applicationClass(java.lang.String className)
Return the Class object for the specified fully qualified
class name, from this web application's class loader. |
static java.lang.Object |
applicationInstance(java.lang.String className)
Return a new instance of the specified fully qualified class name, after loading the class from this web application's class loader. |
static java.lang.ClassLoader |
getClassLoader()
Return the current class loader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassUtils()
| Method Detail |
|---|
public static java.lang.Object applicationInstance(java.lang.String className)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
className - Fully qualified class name to use
java.lang.ClassNotFoundException - if the class cannot be found
java.lang.IllegalAccessException - if the class or its constructor
is not accessible
java.lang.InstantiationException - if this class represents an
abstract class, an interface, an array class, a primitive type,
or void
java.lang.InstantiationException - if this class has no
zero-arguments constructor
public static java.lang.Class applicationClass(java.lang.String className)
throws java.lang.ClassNotFoundException
Class object for the specified fully qualified
class name, from this web application's class loader.
className - Fully qualified class name to be loaded
java.lang.ClassNotFoundException - if the class cannot be foundpublic static java.lang.ClassLoader getClassLoader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||