|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.huihoo.jfox.ejb.server.SafeToolkit
| Method Summary | |
java.lang.Class |
forName(java.lang.String className)
Attempts to find and load the specified class. |
java.lang.Class |
forName(java.lang.String className,
java.lang.String codebase)
Attempts to find and load the specified class, using the specified codebase. |
static org.huihoo.jfox.ejb.server.SafeToolkit |
getToolkit(java.lang.String systemLocation)
Returns an instance of a SafeToolkit dedicated to the specified system location. |
static java.lang.Class |
loadClass(java.lang.String className,
java.lang.String codebase)
Loads the class using the class loader for the specific codebase. |
static java.lang.Object |
newInstance(java.lang.Class clazz)
Attempts to instaniate the specified class. |
java.lang.Object |
newInstance(java.lang.String className)
Attempts to find and load the specified class then instaniate it. |
java.lang.Object |
newInstance(java.lang.String className,
java.lang.String codebase)
Attempts to find and load the specified class then instaniate it. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static org.huihoo.jfox.ejb.server.SafeToolkit getToolkit(java.lang.String systemLocation)
systemLocation -
public java.lang.Class forName(java.lang.String className)
throws java.lang.Exception
className - the name of the class to be loaded.
OpenEJBExcption - if the class cannot be found.@throws java.lang.Exception
java.lang.Exception
public java.lang.Class forName(java.lang.String className,
java.lang.String codebase)
throws java.lang.Exception
className - the name of the class to be loaded.codebase - the codebase to load the class from.
OpenEJBExcption - if the class cannot be found.@throws java.lang.Exception
java.lang.Exception
public java.lang.Object newInstance(java.lang.String className)
throws java.lang.Exception
className - the name of the class to be instantiated.
OpenEJBException - if the class cannot be found or is not accessible
.@throws java.lang.Exception
java.lang.Exception
public java.lang.Object newInstance(java.lang.String className,
java.lang.String codebase)
throws java.lang.Exception
className - the name of the class to be instantiated.codebase -
OpenEJBException - if the class cannot be found or is not accessible
.@throws java.lang.Exception
java.lang.Exception
public static java.lang.Object newInstance(java.lang.Class clazz)
throws java.lang.Exception
clazz -
OpenEJBException - if the class is not accessible .@throws
java.lang.Exception
java.lang.Exception
public static java.lang.Class loadClass(java.lang.String className,
java.lang.String codebase)
throws java.lang.Exception
className - codebase -
java.lang.Exception
java.lang.ClassNotFoundException
OpenEJBException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||