Class ContextFactory
java.lang.Object
com.ibm.java.diagnostics.utils.ContextFactory
Factory for creating different types of contexts.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic IDTFJContextgetContext(int major, int minor, Image image, ImageAddressSpace space, ImageProcess process, JavaRuntime runtime) Create a DTFJ context.static IDTFJContextgetEmptyContext(int major, int minor) Create a stub DTFJ context which just contains the global commands. 
- 
Method Details
- 
getContext
public static IDTFJContext getContext(int major, int minor, Image image, ImageAddressSpace space, ImageProcess process, JavaRuntime runtime) Create a DTFJ context.- Parameters:
 major- DTFJ API major version to be supportedminor- DTFJ minor version to be supportedimage- the source image for the contextspace- address space for this context (cannot be null)process- process in this address spaceruntime- Java runtime for this context (may be null)- Returns:
 - the context
 
 - 
getEmptyContext
Create a stub DTFJ context which just contains the global commands.- Parameters:
 major- DTFJ API major version to be supportedminor- DTFJ minor version to be supported- Returns:
 - the context
 
 
 -