- java.lang.Object
-
- com.ibm.dtfj.image.javacore.JCImageProcess
-
- All Implemented Interfaces:
ImageProcess
public class JCImageProcess extends Object implements ImageProcess
-
-
Constructor Summary
Constructors Constructor Description JCImageProcess(JCImageAddressSpace imageAddressSpace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEnvironment(Object key, Object value)NON-DTFJ Overwrites whatever was there if a key already exists.voidaddImageThread(JCImageThread thread)NON-DTFJvoidaddLibrary(JCImageModule module)NON-DTFJvoidaddRuntime(JavaRuntime javaRuntime)NON-DTFJJCImageAddressSpacegetImageAddressSpace()NON-DTFJJCImageThreadgetImageThread(ImagePointer id)NON-DTFJImageModulegetLibrary(String name)NON-DTFJStringgetSignalName()Get signal name (if signal was available in javacore).intgetSignalNumber()Get signal number (if signal was available in javacore)voidsetCommandLine(String commandLine)Non-DTFJ.voidsetCurrentThreadID(long imageThreadID)NON-DTFJvoidsetExecutable(ImageModule execMod)NON-DTFJvoidsetID(String pid)NON-DTFJvoidsetPointerSize(int pointerSize)voidsetSignal(int signal)Non-DTFJ.-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.image.ImageProcess
getCommandLine, getCurrentThread, getEnvironment, getExecutable, getID, getLibraries, getPointerSize, getProperties, getRuntimes, getThreads
-
-
-
-
Constructor Detail
-
JCImageProcess
public JCImageProcess(JCImageAddressSpace imageAddressSpace) throws JCInvalidArgumentsException
- Throws:
JCInvalidArgumentsException
-
-
Method Detail
-
addEnvironment
public void addEnvironment(Object key, Object value)
NON-DTFJ Overwrites whatever was there if a key already exists.- Parameters:
key-value-
-
addLibrary
public void addLibrary(JCImageModule module)
NON-DTFJ- Parameters:
module-
-
getLibrary
public ImageModule getLibrary(String name)
NON-DTFJ- Parameters:
name-
-
setPointerSize
public void setPointerSize(int pointerSize)
- Parameters:
pointerSize-
-
setSignal
public void setSignal(int signal)
Non-DTFJ. Sets signal number found in javacore- Parameters:
signal-
-
setCommandLine
public void setCommandLine(String commandLine)
Non-DTFJ. Sets command line found in javacore
-
addRuntime
public void addRuntime(JavaRuntime javaRuntime)
NON-DTFJ- Parameters:
javaRuntime-
-
getSignalName
public String getSignalName() throws DataUnavailable, CorruptDataException
Get signal name (if signal was available in javacore).- Specified by:
getSignalNamein interfaceImageProcess- Returns:
- the name of the OS signal in this process which triggered the creation of this image, or null if the image was not created because of a signal in this process
- Throws:
DataUnavailable- if the information cannot be providedCorruptDataException
-
getSignalNumber
public int getSignalNumber() throws DataUnavailable, CorruptDataExceptionGet signal number (if signal was available in javacore)- Specified by:
getSignalNumberin interfaceImageProcess- Returns:
- the OS signal number in this process which triggered the creation of this image, or 0 if the image was not created because of a signal in this process
- Throws:
DataUnavailable- if the information cannot be providedCorruptDataException
-
addImageThread
public void addImageThread(JCImageThread thread)
NON-DTFJ- Parameters:
thread-
-
getImageThread
public JCImageThread getImageThread(ImagePointer id)
NON-DTFJ- Parameters:
id-
-
getImageAddressSpace
public JCImageAddressSpace getImageAddressSpace()
NON-DTFJ
-
setExecutable
public void setExecutable(ImageModule execMod)
NON-DTFJ
-
setID
public void setID(String pid)
NON-DTFJ
-
setCurrentThreadID
public void setCurrentThreadID(long imageThreadID)
NON-DTFJ
-
-