- 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 void
addEnvironment(Object key, Object value)
NON-DTFJ Overwrites whatever was there if a key already exists.void
addImageThread(JCImageThread thread)
NON-DTFJvoid
addLibrary(JCImageModule module)
NON-DTFJvoid
addRuntime(JavaRuntime javaRuntime)
NON-DTFJJCImageAddressSpace
getImageAddressSpace()
NON-DTFJJCImageThread
getImageThread(ImagePointer id)
NON-DTFJImageModule
getLibrary(String name)
NON-DTFJString
getSignalName()
Get signal name (if signal was available in javacore).int
getSignalNumber()
Get signal number (if signal was available in javacore)void
setCommandLine(String commandLine)
Non-DTFJ.void
setCurrentThreadID(long imageThreadID)
NON-DTFJvoid
setExecutable(ImageModule execMod)
NON-DTFJvoid
setID(String pid)
NON-DTFJvoid
setPointerSize(int pointerSize)
void
setSignal(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:
getSignalName
in 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, CorruptDataException
Get signal number (if signal was available in javacore)- Specified by:
getSignalNumber
in 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
-
-