Interface description

The Java interface for agents, libraries, and Web services administers the source files and invokes the editor.

A Java agent, library, Web provider, or Web consumer contains the following parts:
  • Name and file path, for example, myjlib in \\local\myapp.nsf.
  • Contents. This is a tree representation of the resource and source files in the element. By right-clicking on a file, you can:
    • Open the file (also File > Open, Ctrl+E, F3, or double-click)
    • Copy the file (also Edit > Copy or Ctrl+C)
    • Paste a copied file (also Edit > Paste or Ctrl+V)
    • Delete the file (also Edit > Delete or Delete key)
    • Rename (under refactor) the file (also Refactor > Rename or Alt+Shift+R)
  • New Java File button, which brings up a dialog to create a new Java source file. This dialog is the same as in the Java perspective except that you cannot specify a source folder.
  • Import button, which brings up dialogs for importing a Java source file, a Java archive, a script library, a Web service provider or consumer (Web services only), a Java resource file, or a WSDL file (Web services only).
  • Export button, which brings up a dialog for exporting a Java resource file.
  • Export WSDL button, which brings up a dialog for exporting a WSDL (Web services only).
  • Compile All button, which compiles all source files in the element.
  • Properties tab, at the bottom of the screen.
    • For an agent, you can specify or change the name of the agent, the comment, the trigger, the target, the base class, the inclusion of debug information, and various options. You can click Security to change "Run as Web user," "Run on behalf of," "Runtime security level," and "Default access." Click Document Selection to create a query that specifies the documents the agent processes when it runs. (For more information about creating queries, see the LotusScript® editor documentation.
    • For a library, you can specify or change the name of the library, the comment, and the base class.

An element must remain open while contained files are being edited. You are prompted for verification if you close the element while contained files are open.

Changes to an element must be saved (File > Save or Ctrl+S). You are prompted if you attempt to close an element with changes not yet saved. Changes include any files pasted or imported. Pasting or importing a JAR file also adds the JAR to the build path.