Java Doc for InterpreterJVMRemoteI.java in  » IDE » DrJava » edu » rice » cs » drjava » model » repl » newjvm » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE » DrJava » edu.rice.cs.drjava.model.repl.newjvm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


edu.rice.cs.drjava.model.repl.newjvm.InterpreterJVMRemoteI

All known Subclasses:   edu.rice.cs.drjava.model.repl.newjvm.InterpreterJVM,
InterpreterJVMRemoteI
public interface InterpreterJVMRemoteI extends SlaveRemote(Code)
This interface specifies the methods that the interpreter JVM exposes for the MainJVM to call.
version:
   $Id: InterpreterJVMRemoteI.java 4255 2007-08-28 19:17:37Z mgricken $




Method Summary
public  voidaddBuildDirectoryClassPath(File f)
     Adds the given path to the classpath shared by ALL Java interpreters.
public  voidaddDebugInterpreter(String name, String className)
     Adds a named JavaDebugInterpreter to the list of interpreters.
public  voidaddExternalFilesClassPath(File f)
     Adds the given path to the classpath shared by ALL Java interpreters.
public  voidaddExtraClassPath(File f)
     Adds the given path to the classpath shared by ALL Java interpreters.
public  voidaddJavaInterpreter(String name)
     Adds a named DynamicJavaAdapter to the list of interpreters.
public  voidaddProjectClassPath(File f)
     Adds the given path to the classpath shared by ALL Java interpreters.
public  voidaddProjectFilesClassPath(File f)
     Adds the given path to the classpath shared by ALL Java interpreters.
public  List<String>findTestClasses(List<String> classNames, List<File> files)
    
public  List<File>getAugmentedClassPath()
     Returns a copy of the list of unique entries on the classpath.
public  StringgetVariableClassName(String var)
     Gets the class name of a variable in the current interpreter.
public  StringgetVariableToString(String var)
     Gets the string representation of the value of a variable in the current interpreter.
public  voidinterpret(String s)
     Interprets the given string of source code in the active interpreter.
public  voidremoveInterpreter(String name)
     Removes the interpreter with the given name, if it exists.
public  booleanrunTestSuite()
    
public  booleansetActiveInterpreter(String name)
    
public  voidsetPackageScope(String s)
    
public  voidsetPrivateAccessible(boolean allow)
     Sets whether to allow private access.
public  voidsetShowMessageOnResetFailure(boolean show)
    
public  booleansetToDefaultInterpreter()
     Sets the default interpreter to be active.



Method Detail
addBuildDirectoryClassPath
public void addBuildDirectoryClassPath(File f) throws RemoteException(Code)
Adds the given path to the classpath shared by ALL Java interpreters. Only unique paths are added.
Parameters:
  f - Entry to add to the accumulated classpath



addDebugInterpreter
public void addDebugInterpreter(String name, String className) throws RemoteException(Code)
Adds a named JavaDebugInterpreter to the list of interpreters.
Parameters:
  name - the unique name for the interpreter
Parameters:
  className - the fully qualified class name of the classthe debug interpreter is in
throws:
  IllegalArgumentException - if the name is not unique



addExternalFilesClassPath
public void addExternalFilesClassPath(File f) throws RemoteException(Code)
Adds the given path to the classpath shared by ALL Java interpreters. Only unique paths are added.
Parameters:
  f - Entry to add to the accumulated classpath



addExtraClassPath
public void addExtraClassPath(File f) throws RemoteException(Code)
Adds the given path to the classpath shared by ALL Java interpreters. Only unique paths are added.
Parameters:
  f - Entry to add to the accumulated classpath



addJavaInterpreter
public void addJavaInterpreter(String name) throws RemoteException(Code)
Adds a named DynamicJavaAdapter to the list of interpreters.
Parameters:
  name - the unique name for the interpreter
throws:
  IllegalArgumentException - if the name is not unique



addProjectClassPath
public void addProjectClassPath(File f) throws RemoteException(Code)
Adds the given path to the classpath shared by ALL Java interpreters. Only unique paths are added.
Parameters:
  f - Entry to add to the accumulated classpath



addProjectFilesClassPath
public void addProjectFilesClassPath(File f) throws RemoteException(Code)
Adds the given path to the classpath shared by ALL Java interpreters. Only unique paths are added.
Parameters:
  f - Entry to add to the accumulated classpath



findTestClasses
public List<String> findTestClasses(List<String> classNames, List<File> files) throws RemoteException(Code)



getAugmentedClassPath
public List<File> getAugmentedClassPath() throws RemoteException(Code)
Returns a copy of the list of unique entries on the classpath. (List rather than Iterable to avoid conflicts between RMI and Retroweaver.)



getVariableClassName
public String getVariableClassName(String var) throws RemoteException(Code)
Gets the class name of a variable in the current interpreter.
Parameters:
  var - the name of the variable



getVariableToString
public String getVariableToString(String var) throws RemoteException(Code)
Gets the string representation of the value of a variable in the current interpreter.
Parameters:
  var - the name of the variable



interpret
public void interpret(String s) throws RemoteException(Code)
Interprets the given string of source code in the active interpreter. The result is returned to MainJVMRemoteI via the interpretResult method.
Parameters:
  s - Source code to interpret.



removeInterpreter
public void removeInterpreter(String name) throws RemoteException(Code)
Removes the interpreter with the given name, if it exists.
Parameters:
  name - Name of the interpreter to remove



runTestSuite
public boolean runTestSuite() throws RemoteException(Code)



setActiveInterpreter
public boolean setActiveInterpreter(String name) throws RemoteException(Code)
Sets the current interpreter to be the one specified by the given name
Parameters:
  name - the unique name of the interpreter to set active Whether the new interpreter is currently in progresswith an interaction



setPackageScope
public void setPackageScope(String s) throws RemoteException(Code)



setPrivateAccessible
public void setPrivateAccessible(boolean allow) throws RemoteException(Code)
Sets whether to allow private access.



setShowMessageOnResetFailure
public void setShowMessageOnResetFailure(boolean show) throws RemoteException(Code)

Parameters:
  show - Whether to show a message if a reset operation fails.



setToDefaultInterpreter
public boolean setToDefaultInterpreter() throws RemoteException(Code)
Sets the default interpreter to be active. Whether the new interpreter is currently in progresswith an interaction



w__ww___.___j__a___v__a2s__._c__om__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.