|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jess.ClassSource
Loads user classes and resources. Jess uses this to manage "import" function calls and to cache loaded class objects.
(C) 2005 Sandia National Laboratories
Method Summary | |
static java.lang.String |
classNameOnly(java.lang.String name)
|
void |
clear()
|
java.lang.Class |
findClass(java.lang.String className)
|
java.applet.Applet |
getApplet()
Returns the applet this Rete is installed in. |
java.lang.Class |
getAppObjectClass()
Returns the "application object" for this Rete instance |
java.lang.ClassLoader |
getClassLoader()
|
java.net.URL |
getResource(java.lang.String name)
|
void |
importClass(java.lang.String clazz)
|
void |
importPackage(java.lang.String pack)
|
void |
setApplet(java.applet.Applet applet)
Associates this Rete with an applet so that, for instance, the (batch) commands will look for scripts using the applet's document base URL. |
void |
setAppObject(java.lang.Object appObject)
Associates this Rete with an object so that, for instance, the (batch) commands will look for scripts using the object's class loader. |
void |
setClassLoader(java.lang.ClassLoader loader)
Associates this Rete with a specific class loader; the loader will be used to find batch files and load classes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.applet.Applet getApplet()
public java.lang.Class getAppObjectClass()
Rete.Rete(java.lang.Object)
public void setApplet(java.applet.Applet applet)
applet
- The appletpublic void setAppObject(java.lang.Object appObject)
appObject
- The app objectpublic void setClassLoader(java.lang.ClassLoader loader)
loader
- The class loaderpublic java.lang.Class findClass(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.net.URL getResource(java.lang.String name)
public void importPackage(java.lang.String pack)
public void importClass(java.lang.String clazz) throws JessException
JessException
public void clear()
public java.lang.ClassLoader getClassLoader()
public static java.lang.String classNameOnly(java.lang.String name)
|
© 2006 Sandia Corporation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |