IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.recorder.core.deploy
Interface IVirtualMachine


public interface IVirtualMachine

Abstract description of the required information to launch a new java virtual machine.


Method Summary
 void addClasspathEntry(IEntry entry)
          Adds a new classpath entry the JVM classpath.
 Collection<IEntry> getClasspathEntries()
          Returns the classpath entries that will be used to compute the JVM classpath.
 Map<String,String> getProperties()
          Returns the properties that will be passed to the JVM and will be available in the running JVM using System.getProperties().
 void setProperty(String name, String value)
          Adds a new property that will be passed to the JVM and will be available in the running JVM using System.getProperties().
 

Method Detail

getClasspathEntries

Collection<IEntry> getClasspathEntries()
Returns the classpath entries that will be used to compute the JVM classpath.

Returns:
the classpath entries that will be used to compute the JVM classpath.

addClasspathEntry

void addClasspathEntry(IEntry entry)
Adds a new classpath entry the JVM classpath.

Parameters:
entry - A classpath entry.
See Also:
FileEntry, BundleEntry

getProperties

Map<String,String> getProperties()
Returns the properties that will be passed to the JVM and will be available in the running JVM using System.getProperties().

Returns:
the properties that will be passed to the JVM and will be available in the running JVM using System.getProperties().

setProperty

void setProperty(String name,
                 String value)
Adds a new property that will be passed to the JVM and will be available in the running JVM using System.getProperties().

Parameters:
name - The property name.
value - The property value. May be null.

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.