/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/bsh/BshClassManager.html
HTML | 1153 lines | 1011 code | 128 blank | 14 comment | 0 complexity | 0b108c0f958fdb31424d208db3538d6e MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!--NewPage-->
- <HTML>
- <HEAD>
- <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:13:49 GMT-08:00 2008 -->
- <TITLE>
- BshClassManager (jEdit API)
- </TITLE>
- <META NAME="keywords" CONTENT="org.gjt.sp.jedit.bsh.BshClassManager class">
- <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
- <NOSCRIPT>
- </NOSCRIPT>
- </HEAD>
- <BODY BGCOLOR="white" >
- <!-- ========= START OF TOP NAVBAR ======= -->
- <A NAME="navbar_top"><!-- --></A>
- <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_top_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BshClassManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- </EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
- <A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.Listener.html" title="interface in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/BshClassManager.html" target="_top"><B>FRAMES</B></A>
- <A HREF="BshClassManager.html" target="_top"><B>NO FRAMES</B></A>
-
- <NOSCRIPT>
- <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
- </NOSCRIPT>
- </FONT></TD>
- </TR>
- <TR>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_top"></A>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <HR>
- <!-- ======== START OF CLASS DATA ======== -->
- <H2>
- <FONT SIZE="-1">
- org.gjt.sp.jedit.bsh</FONT>
- <BR>
- Class BshClassManager</H2>
- <PRE>
- java.lang.Object
- <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.bsh.BshClassManager</B>
- </PRE>
- <DL>
- <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/classpath/ClassManagerImpl.html" title="class in org.gjt.sp.jedit.bsh.classpath">ClassManagerImpl</A></DD>
- </DL>
- <HR>
- <DL>
- <DT><PRE>public class <B>BshClassManager</B><DT>extends java.lang.Object</DL>
- </PRE>
- <P>
- BshClassManager manages all classloading in BeanShell.
- It also supports a dynamically loaded extension (bsh.classpath package)
- which allows classpath extension and class file reloading.
- Currently the extension relies on 1.2 for BshClassLoader and weak
- references.
- See http://www.beanshell.org/manual/classloading.html for details
- on the bsh classloader architecture.
- <p>
- Bsh has a multi-tiered class loading architecture. No class loader is
- used unless/until the classpath is modified or a class is reloaded.
- <p>
- <P>
- <P>
- <HR>
- <P>
- <!-- ======== NESTED CLASS SUMMARY ======== -->
- <A NAME="nested_class_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Nested Class Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static interface</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.Listener.html" title="interface in org.gjt.sp.jedit.bsh">BshClassManager.Listener</A></B></CODE>
- <BR>
- </TD>
- </TR>
- </TABLE>
- <!-- =========== FIELD SUMMARY =========== -->
- <A NAME="field_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Field Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.Hashtable</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#absoluteClassCache">absoluteClassCache</A></B></CODE>
- <BR>
- Global cache for things we know are classes.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.Hashtable</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#absoluteNonClasses">absoluteNonClasses</A></B></CODE>
- <BR>
- Global cache for things we know are *not* classes.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.Hashtable</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#definingClasses">definingClasses</A></B></CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.Hashtable</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#definingClassesBaseNames">definingClassesBaseNames</A></B></CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.ClassLoader</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#externalClassLoader">externalClassLoader</A></B></CODE>
- <BR>
- An external classloader supplied by the setClassLoader() command.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.Hashtable</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#resolvedObjectMethods">resolvedObjectMethods</A></B></CODE>
- <BR>
- Caches for resolved object and static methods.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.Hashtable</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#resolvedStaticMethods">resolvedStaticMethods</A></B></CODE>
- <BR>
- </TD>
- </TR>
- </TABLE>
-
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <A NAME="constructor_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Constructor Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#BshClassManager()">BshClassManager</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- </TABLE>
-
- <!-- ========== METHOD SUMMARY =========== -->
- <A NAME="method_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Method Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#addClassPath(java.net.URL)">addClassPath</A></B>(java.net.URL path)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#addListener(org.gjt.sp.jedit.bsh.BshClassManager.Listener)">addListener</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.Listener.html" title="interface in org.gjt.sp.jedit.bsh">BshClassManager.Listener</A> l)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#cacheClassInfo(java.lang.String, java.lang.Class)">cacheClassInfo</A></B>(java.lang.String name,
- java.lang.Class value)</CODE>
- <BR>
- Cache info about whether name is a class or not.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#cacheResolvedMethod(java.lang.Class, java.lang.Class[], java.lang.reflect.Method)">cacheResolvedMethod</A></B>(java.lang.Class clas,
- java.lang.Class[] types,
- java.lang.reflect.Method method)</CODE>
- <BR>
- Cache a resolved (possibly overloaded) method based on the
- argument types used to invoke it, subject to classloader change.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#classExists(java.lang.String)">classExists</A></B>(java.lang.String name)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.Class</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#classForName(java.lang.String)">classForName</A></B>(java.lang.String name)</CODE>
- <BR>
- Load the specified class by name, taking into account added classpath
- and reloaded classes, etc.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#classLoaderChanged()">classLoaderChanged</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#clearCaches()">clearCaches</A></B>()</CODE>
- <BR>
- Clear the caches in BshClassManager</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected static <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#cmUnavailable()">cmUnavailable</A></B>()</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html" title="class in org.gjt.sp.jedit.bsh">BshClassManager</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#createClassManager(org.gjt.sp.jedit.bsh.Interpreter)">createClassManager</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html" title="class in org.gjt.sp.jedit.bsh">Interpreter</A> interpreter)</CODE>
- <BR>
- Create a new instance of the class manager.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.Class</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#defineClass(java.lang.String, byte[])">defineClass</A></B>(java.lang.String name,
- byte[] code)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#definingClass(java.lang.String)">definingClass</A></B>(java.lang.String className)</CODE>
- <BR>
- Flag the class name as being in the process of being defined.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#doneDefiningClass(java.lang.String)">doneDefiningClass</A></B>(java.lang.String className)</CODE>
- <BR>
- Indicate that the specified class name has been defined and may be
- loaded normally.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#doSuperImport()">doSuperImport</A></B>()</CODE>
- <BR>
- Support for "import *;"
- Hide details in here as opposed to NameSpace.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#dump(java.io.PrintWriter)">dump</A></B>(java.io.PrintWriter pw)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#getClassBeingDefined(java.lang.String)">getClassBeingDefined</A></B>(java.lang.String className)</CODE>
- <BR>
- This method is a temporary workaround used with definingClass.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#getClassNameByUnqName(java.lang.String)">getClassNameByUnqName</A></B>(java.lang.String name)</CODE>
- <BR>
- Return the name or null if none is found,
- Throw an ClassPathException containing detail if name is ambigous.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.reflect.Method</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#getResolvedMethod(java.lang.Class, java.lang.String, java.lang.Class[], boolean)">getResolvedMethod</A></B>(java.lang.Class clas,
- java.lang.String methodName,
- java.lang.Class[] types,
- boolean onlyStatic)</CODE>
- <BR>
- Return a previously cached resolved method.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.net.URL</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#getResource(java.lang.String)">getResource</A></B>(java.lang.String path)</CODE>
- <BR>
- Get a resource URL using the BeanShell classpath</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.io.InputStream</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#getResourceAsStream(java.lang.String)">getResourceAsStream</A></B>(java.lang.String path)</CODE>
- <BR>
- Get a resource stream using the BeanShell classpath</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#hasSuperImport()">hasSuperImport</A></B>()</CODE>
- <BR>
- A "super import" ("import *") operation has been performed.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#isClassBeingDefined(java.lang.String)">isClassBeingDefined</A></B>(java.lang.String className)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.Class</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#loadSourceClass(java.lang.String)">loadSourceClass</A></B>(java.lang.String name)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected static java.lang.Error</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#noClassDefFound(java.lang.String, java.lang.Error)">noClassDefFound</A></B>(java.lang.String className,
- java.lang.Error e)</CODE>
- <BR>
- Annotate the NoClassDefFoundError with some info about the class
- we were trying to load.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.Class</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#plainClassForName(java.lang.String)">plainClassForName</A></B>(java.lang.String name)</CODE>
- <BR>
- Perform a plain Class.forName() or call the externally provided
- classloader.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#reloadAllClasses()">reloadAllClasses</A></B>()</CODE>
- <BR>
- Overlay the entire path with a new class loader.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#reloadClasses(java.lang.String[])">reloadClasses</A></B>(java.lang.String[] classNames)</CODE>
- <BR>
- Reloading classes means creating a new classloader and using it
- whenever we are asked for classes in the appropriate space.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#reloadPackage(java.lang.String)">reloadPackage</A></B>(java.lang.String pack)</CODE>
- <BR>
- Reload all classes in the specified package: e.g.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#removeListener(org.gjt.sp.jedit.bsh.BshClassManager.Listener)">removeListener</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.Listener.html" title="interface in org.gjt.sp.jedit.bsh">BshClassManager.Listener</A> l)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#reset()">reset</A></B>()</CODE>
- <BR>
- Clear all loaders and start over.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#setClassLoader(java.lang.ClassLoader)">setClassLoader</A></B>(java.lang.ClassLoader externalCL)</CODE>
- <BR>
- Set an external class loader.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#setClassPath(java.net.URL[])">setClassPath</A></B>(java.net.URL[] cp)</CODE>
- <BR>
- Set a new base classpath and create a new base classloader.</TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
- </TR>
- </TABLE>
-
- <P>
- <!-- ============ FIELD DETAIL =========== -->
- <A NAME="field_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Field Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="externalClassLoader"><!-- --></A><H3>
- externalClassLoader</H3>
- <PRE>
- protected java.lang.ClassLoader <B>externalClassLoader</B></PRE>
- <DL>
- <DD>An external classloader supplied by the setClassLoader() command.
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="absoluteClassCache"><!-- --></A><H3>
- absoluteClassCache</H3>
- <PRE>
- protected transient java.util.Hashtable <B>absoluteClassCache</B></PRE>
- <DL>
- <DD>Global cache for things we know are classes.
- Note: these should probably be re-implemented with Soft references.
- (as opposed to strong or Weak)
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="absoluteNonClasses"><!-- --></A><H3>
- absoluteNonClasses</H3>
- <PRE>
- protected transient java.util.Hashtable <B>absoluteNonClasses</B></PRE>
- <DL>
- <DD>Global cache for things we know are *not* classes.
- Note: these should probably be re-implemented with Soft references.
- (as opposed to strong or Weak)
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="resolvedObjectMethods"><!-- --></A><H3>
- resolvedObjectMethods</H3>
- <PRE>
- protected transient java.util.Hashtable <B>resolvedObjectMethods</B></PRE>
- <DL>
- <DD>Caches for resolved object and static methods.
- We keep these maps separate to support fast lookup in the general case
- where the method may be either.
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="resolvedStaticMethods"><!-- --></A><H3>
- resolvedStaticMethods</H3>
- <PRE>
- protected transient java.util.Hashtable <B>resolvedStaticMethods</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="definingClasses"><!-- --></A><H3>
- definingClasses</H3>
- <PRE>
- protected transient java.util.Hashtable <B>definingClasses</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="definingClassesBaseNames"><!-- --></A><H3>
- definingClassesBaseNames</H3>
- <PRE>
- protected transient java.util.Hashtable <B>definingClassesBaseNames</B></PRE>
- <DL>
- <DL>
- </DL>
- </DL>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <A NAME="constructor_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Constructor Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="BshClassManager()"><!-- --></A><H3>
- BshClassManager</H3>
- <PRE>
- public <B>BshClassManager</B>()</PRE>
- <DL>
- </DL>
- <!-- ============ METHOD DETAIL ========== -->
- <A NAME="method_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Method Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="createClassManager(org.gjt.sp.jedit.bsh.Interpreter)"><!-- --></A><H3>
- createClassManager</H3>
- <PRE>
- public static <A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html" title="class in org.gjt.sp.jedit.bsh">BshClassManager</A> <B>createClassManager</B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html" title="class in org.gjt.sp.jedit.bsh">Interpreter</A> interpreter)</PRE>
- <DL>
- <DD>Create a new instance of the class manager.
- Class manager instnaces are now associated with the interpreter.
- <P>
- <DD><DL>
- <DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html#getClassManager()"><CODE>getClassManager</CODE></A>,
- <A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html#setClassLoader(java.lang.ClassLoader)"><CODE>setClassLoader</CODE></A></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="classExists(java.lang.String)"><!-- --></A><H3>
- classExists</H3>
- <PRE>
- public boolean <B>classExists</B>(java.lang.String name)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="classForName(java.lang.String)"><!-- --></A><H3>
- classForName</H3>
- <PRE>
- public java.lang.Class <B>classForName</B>(java.lang.String name)</PRE>
- <DL>
- <DD>Load the specified class by name, taking into account added classpath
- and reloaded classes, etc.
- Note: Again, this is just a trivial implementation.
- See bsh.classpath.ClassManagerImpl for the fully functional class
- management package.
- <P>
- <DD><DL>
- <DT><B>Returns:</B><DD>the class or null</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadSourceClass(java.lang.String)"><!-- --></A><H3>
- loadSourceClass</H3>
- <PRE>
- protected java.lang.Class <B>loadSourceClass</B>(java.lang.String name)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="plainClassForName(java.lang.String)"><!-- --></A><H3>
- plainClassForName</H3>
- <PRE>
- public java.lang.Class <B>plainClassForName</B>(java.lang.String name)
- throws java.lang.ClassNotFoundException</PRE>
- <DL>
- <DD>Perform a plain Class.forName() or call the externally provided
- classloader.
- If a BshClassManager implementation is loaded the call will be
- delegated to it, to allow for additional hooks.
- <p/>
- This simply wraps that bottom level class lookup call and provides a
- central point for monitoring and handling certain Java version
- dependent bugs, etc.
- <P>
- <DD><DL>
- <DT><B>Returns:</B><DD>the class
- <DT><B>Throws:</B>
- <DD><CODE>java.lang.ClassNotFoundException</CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.html#classForName(java.lang.String)"><CODE>classForName( String )</CODE></A></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getResource(java.lang.String)"><!-- --></A><H3>
- getResource</H3>
- <PRE>
- public java.net.URL <B>getResource</B>(java.lang.String path)</PRE>
- <DL>
- <DD>Get a resource URL using the BeanShell classpath
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>path</CODE> - should be an absolute path</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getResourceAsStream(java.lang.String)"><!-- --></A><H3>
- getResourceAsStream</H3>
- <PRE>
- public java.io.InputStream <B>getResourceAsStream</B>(java.lang.String path)</PRE>
- <DL>
- <DD>Get a resource stream using the BeanShell classpath
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>path</CODE> - should be an absolute path</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="cacheClassInfo(java.lang.String, java.lang.Class)"><!-- --></A><H3>
- cacheClassInfo</H3>
- <PRE>
- public void <B>cacheClassInfo</B>(java.lang.String name,
- java.lang.Class value)</PRE>
- <DL>
- <DD>Cache info about whether name is a class or not.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>value</CODE> - if value is non-null, cache the class
- if value is null, set the flag that it is *not* a class to
- speed later resolution</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="cacheResolvedMethod(java.lang.Class, java.lang.Class[], java.lang.reflect.Method)"><!-- --></A><H3>
- cacheResolvedMethod</H3>
- <PRE>
- public void <B>cacheResolvedMethod</B>(java.lang.Class clas,
- java.lang.Class[] types,
- java.lang.reflect.Method method)</PRE>
- <DL>
- <DD>Cache a resolved (possibly overloaded) method based on the
- argument types used to invoke it, subject to classloader change.
- Static and Object methods are cached separately to support fast lookup
- in the general case where either will do.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getResolvedMethod(java.lang.Class, java.lang.String, java.lang.Class[], boolean)"><!-- --></A><H3>
- getResolvedMethod</H3>
- <PRE>
- protected java.lang.reflect.Method <B>getResolvedMethod</B>(java.lang.Class clas,
- java.lang.String methodName,
- java.lang.Class[] types,
- boolean onlyStatic)</PRE>
- <DL>
- <DD>Return a previously cached resolved method.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>onlyStatic</CODE> - specifies that only a static method may be returned.
- <DT><B>Returns:</B><DD>the Method or null</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="clearCaches()"><!-- --></A><H3>
- clearCaches</H3>
- <PRE>
- protected void <B>clearCaches</B>()</PRE>
- <DL>
- <DD>Clear the caches in BshClassManager
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setClassLoader(java.lang.ClassLoader)"><!-- --></A><H3>
- setClassLoader</H3>
- <PRE>
- public void <B>setClassLoader</B>(java.lang.ClassLoader externalCL)</PRE>
- <DL>
- <DD>Set an external class loader. BeanShell will use this at the same
- point it would otherwise use the plain Class.forName().
- i.e. if no explicit classpath management is done from the script
- (addClassPath(), setClassPath(), reloadClasses()) then BeanShell will
- only use the supplied classloader. If additional classpath management
- is done then BeanShell will perform that in addition to the supplied
- external classloader.
- However BeanShell is not currently able to reload
- classes supplied through the external classloader.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="addClassPath(java.net.URL)"><!-- --></A><H3>
- addClassPath</H3>
- <PRE>
- public void <B>addClassPath</B>(java.net.URL path)
- throws java.io.IOException</PRE>
- <DL>
- <DD><DL>
- <DT><B>Throws:</B>
- <DD><CODE>java.io.IOException</CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="reset()"><!-- --></A><H3>
- reset</H3>
- <PRE>
- public void <B>reset</B>()</PRE>
- <DL>
- <DD>Clear all loaders and start over. No class loading.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setClassPath(java.net.URL[])"><!-- --></A><H3>
- setClassPath</H3>
- <PRE>
- public void <B>setClassPath</B>(java.net.URL[] cp)
- throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
- <DL>
- <DD>Set a new base classpath and create a new base classloader.
- This means all types change.
- <P>
- <DD><DL>
- <DT><B>Throws:</B>
- <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="reloadAllClasses()"><!-- --></A><H3>
- reloadAllClasses</H3>
- <PRE>
- public void <B>reloadAllClasses</B>()
- throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
- <DL>
- <DD>Overlay the entire path with a new class loader.
- Set the base path to the user path + base path.
- No point in including the boot class path (can't reload thos).
- <P>
- <DD><DL>
- <DT><B>Throws:</B>
- <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="reloadClasses(java.lang.String[])"><!-- --></A><H3>
- reloadClasses</H3>
- <PRE>
- public void <B>reloadClasses</B>(java.lang.String[] classNames)
- throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
- <DL>
- <DD>Reloading classes means creating a new classloader and using it
- whenever we are asked for classes in the appropriate space.
- For this we use a DiscreteFilesClassLoader
- <P>
- <DD><DL>
- <DT><B>Throws:</B>
- <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="reloadPackage(java.lang.String)"><!-- --></A><H3>
- reloadPackage</H3>
- <PRE>
- public void <B>reloadPackage</B>(java.lang.String pack)
- throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
- <DL>
- <DD>Reload all classes in the specified package: e.g. "com.sun.tools"
- The special package name "<unpackaged>" can be used to refer
- to unpackaged classes.
- <P>
- <DD><DL>
- <DT><B>Throws:</B>
- <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="doSuperImport()"><!-- --></A><H3>
- doSuperImport</H3>
- <PRE>
- protected void <B>doSuperImport</B>()
- throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
- <DL>
- <DD>Support for "import *;"
- Hide details in here as opposed to NameSpace.
- <P>
- <DD><DL>
- <DT><B>Throws:</B>
- <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="hasSuperImport()"><!-- --></A><H3>
- hasSuperImport</H3>
- <PRE>
- protected boolean <B>hasSuperImport</B>()</PRE>
- <DL>
- <DD>A "super import" ("import *") operation has been performed.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getClassNameByUnqName(java.lang.String)"><!-- --></A><H3>
- getClassNameByUnqName</H3>
- <PRE>
- protected java.lang.String <B>getClassNameByUnqName</B>(java.lang.String name)
- throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
- <DL>
- <DD>Return the name or null if none is found,
- Throw an ClassPathException containing detail if name is ambigous.
- <P>
- <DD><DL>
- <DT><B>Throws:</B>
- <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="addListener(org.gjt.sp.jedit.bsh.BshClassManager.Listener)"><!-- --></A><H3>
- addListener</H3>
- <PRE>
- public void <B>addListener</B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.Listener.html" title="interface in org.gjt.sp.jedit.bsh">BshClassManager.Listener</A> l)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="removeListener(org.gjt.sp.jedit.bsh.BshClassManager.Listener)"><!-- --></A><H3>
- removeListener</H3>
- <PRE>
- public void <B>removeListener</B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.Listener.html" title="interface in org.gjt.sp.jedit.bsh">BshClassManager.Listener</A> l)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="dump(java.io.PrintWriter)"><!-- --></A><H3>
- dump</H3>
- <PRE>
- public void <B>dump</B>(java.io.PrintWriter pw)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="definingClass(java.lang.String)"><!-- --></A><H3>
- definingClass</H3>
- <PRE>
- protected void <B>definingClass</B>(java.lang.String className)</PRE>
- <DL>
- <DD>Flag the class name as being in the process of being defined.
- The class manager will not attempt to load it.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="isClassBeingDefined(java.lang.String)"><!-- --></A><H3>
- isClassBeingDefined</H3>
- <PRE>
- protected boolean <B>isClassBeingDefined</B>(java.lang.String className)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getClassBeingDefined(java.lang.String)"><!-- --></A><H3>
- getClassBeingDefined</H3>
- <PRE>
- protected java.lang.String <B>getClassBeingDefined</B>(java.lang.String className)</PRE>
- <DL>
- <DD>This method is a temporary workaround used with definingClass.
- It is to be removed at some point.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="doneDefiningClass(java.lang.String)"><!-- --></A><H3>
- doneDefiningClass</H3>
- <PRE>
- protected void <B>doneDefiningClass</B>(java.lang.String className)</PRE>
- <DL>
- <DD>Indicate that the specified class name has been defined and may be
- loaded normally.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="defineClass(java.lang.String, byte[])"><!-- --></A><H3>
- defineClass</H3>
- <PRE>
- public java.lang.Class <B>defineClass</B>(java.lang.String name,
- byte[] code)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="classLoaderChanged()"><!-- --></A><H3>
- classLoaderChanged</H3>
- <PRE>
- protected void <B>classLoaderChanged</B>()</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="noClassDefFound(java.lang.String, java.lang.Error)"><!-- --></A><H3>
- noClassDefFound</H3>
- <PRE>
- protected static java.lang.Error <B>noClassDefFound</B>(java.lang.String className,
- java.lang.Error e)</PRE>
- <DL>
- <DD>Annotate the NoClassDefFoundError with some info about the class
- we were trying to load.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="cmUnavailable()"><!-- --></A><H3>
- cmUnavailable</H3>
- <PRE>
- protected static <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A> <B>cmUnavailable</B>()</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <!-- ========= END OF CLASS DATA ========= -->
- <HR>
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <A NAME="navbar_bottom"><!-- --></A>
- <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_bottom_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BshClassManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- </EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- PREV CLASS
- <A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.Listener.html" title="interface in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/BshClassManager.html" target="_top"><B>FRAMES</B></A>
- <A HREF="BshClassManager.html" target="_top"><B>NO FRAMES</B></A>
-
- <NOSCRIPT>
- <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
- </NOSCRIPT>
- </FONT></TD>
- </TR>
- <TR>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_bottom"></A>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- <HR>
- </BODY>
- </HTML>