- java.lang.Object
-
- com.ibm.java.diagnostics.utils.Context
-
- com.ibm.java.diagnostics.utils.DTFJContext
-
- com.ibm.jvm.dtfjview.CombinedContext
-
- All Implemented Interfaces:
IContext
,IDTFJContext
,PluginLoader
,ICombinedContext
public class CombinedContext extends DTFJContext implements ICombinedContext
Wrapper class that takes an existing DTFJ context and augments it with a DDR interactive context if one exists.
-
-
Field Summary
-
Fields declared in class com.ibm.java.diagnostics.utils.Context
commands, globalCommands, lastException, lastExecutedCommand, loader
-
-
Constructor Summary
Constructors Constructor Description CombinedContext(int major, int minor, Image image, ImageAddressSpace space, ImageProcess proc, JavaRuntime rt, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
startDDRInteractiveSession(Image image, PrintStream out)
Starts a DDR interactive session using the loaded image.-
Methods declared in class com.ibm.java.diagnostics.utils.DTFJContext
hasPropertyBeenSet, refresh
-
Methods declared in class com.ibm.java.diagnostics.utils.Context
addGlobalCommandsToContext, getCommandNames, getPluginManager
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.jvm.dtfjview.spi.ICombinedContext
displayContext, getDDRIObject, getDDRStartupException, getID, isDDRAvailable, setAsCurrent, setID
-
Methods declared in interface com.ibm.java.diagnostics.utils.IContext
execute, execute, execute, getCommands, getLastCommandException, getLastExecutedCommand, getPluginClassloader, getProperties, isCommandRecognised, refresh
-
Methods declared in interface com.ibm.java.diagnostics.utils.IDTFJContext
getAddressSpace, getImage, getMajorVersion, getMinorVersion, getProcess, getRuntime, hasPropertyBeenSet
-
Methods declared in interface com.ibm.java.diagnostics.utils.plugins.PluginLoader
getPluginFailures, getPlugins, loadPlugins
-
-
-
-
Constructor Detail
-
CombinedContext
public CombinedContext(int major, int minor, Image image, ImageAddressSpace space, ImageProcess proc, JavaRuntime rt, int id)
-
-
Method Detail
-
startDDRInteractiveSession
public void startDDRInteractiveSession(Image image, PrintStream out)
Starts a DDR interactive session using the loaded image. If the core file is not DDR enabled this is recorded and future pling commands will not be available. In order to get access to the DDR classes it uses the Image classloader which, if the core file is DDR enabled, can see the required classes.- Parameters:
image
- Image created from the core file
-
-