All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.cometway.jerminal.commands.loadClass

com.cometway.jerminal.commands.JerminalCommand
   |
   +----com.cometway.jerminal.commands.UnixFileCommand
           |
           +----com.cometway.jerminal.commands.loadClass

public class loadClass
extends UnixFileCommand
This command is similar to the instantiate command. But instead of using the default ClassLoader to load the Class, the loadClass command uses its own ClassLoader and reloads the class data.
loadClass [pathname] (constructor param1 type)... (constructor param1 value)...
The [pathname] is the path name of the .class file of the Class to load. This class is loaded and the constructor that mathces the (constructor param1 type) types is loaded. There can be as many types as needed to describe the constructor. The command returns the new instance of the Object instantiated from the class data loaded from the [pathname]. The (constructor param1 value) values are used as arguments for the constructor. The number of types must equal the number of values.


Constructor Index

 o loadClass(JerminalSession)

Method Index

 o evaluate(Vector)
This method is called by the JerminalSession when it uses this command.

Constructors

 o loadClass
 public loadClass(JerminalSession j) throws UnauthorizedAccessException

Methods

 o evaluate
 public Object evaluate(Vector operands)
This method is called by the JerminalSession when it uses this command.

Overrides:
evaluate in class JerminalCommand

All Packages  Class Hierarchy  This Package  Previous  Next  Index