|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JVirtualMachine
This is the Corosol Java Virtual Machine interface. The JVM contains a set of components. A component can be added or replaced at run-time in the Corosol JVM.
| Method Summary | |
|---|---|
JProxy |
addComponent(JVMComponent component)
Adds the specified component into the JVM. |
boolean |
containsComponent(java.lang.Class type)
Determines if this jvm contains a component of the specified type. |
JProxy |
getComponent(java.lang.Class type)
Returns the JVM component of the specified type. |
JVMComponent[] |
getComponents()
Returns an array containing all the JVM components. |
void |
replaceComponent(JVMComponent component)
Replaces a component into the JVM. |
void |
startUp(java.lang.String className,
java.lang.String[] args)
Executes the class asociated with the given string name. |
| Method Detail |
|---|
JProxy addComponent(JVMComponent component)
component - a component
void replaceComponent(JVMComponent component)
component - a componentboolean containsComponent(java.lang.Class type)
type - the type of a JVM component
JProxy getComponent(java.lang.Class type)
type - the type of a JVM component
java.lang.IllegalArgumentException - if the component
doesn't exist in the virtual machineJVMComponent[] getComponents()
void startUp(java.lang.String className,
java.lang.String[] args)
throws java.lang.Throwable
className - the fully qualified name of the desired classargs - the command line arguments
java.lang.Throwable - if an exception occurs during execution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||