com.candle.roma.kxc
Class RomaSystemConfig

java.lang.Object
  |
  +--com.candle.roma.kxc.RomaSystemConfig

public final class RomaSystemConfig
extends java.lang.Object

This class defines the system environment configuration of the application.

See Also:
RomaExceptionInfo

Method Summary
 java.lang.String getDomainName()
          Returns the domain name.
 int getEnvOS()
          Returns the OS type of the environment on which the reporting application is running.
 int getEnvType()
          Returns the architecture type of the environment on which the reporting application is running.
 long getProcessId()
          Returns the process ID assigned to the reporting application.
 java.lang.String getProgramName()
          Returns the name of the application reporting the error.
 long getThreadId()
          Returns the thread ID assigned to the reporting thread’s active thread.
 java.lang.String getUserId()
          Returns the user ID under which the reporting application is executing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEnvType

public int getEnvType()
Returns the architecture type of the environment on which the reporting application is running.
Returns:
one of
  • Roma.ENVTYPE_INTEL
  • Roma.ENVTYPE_UNIX
  • Roma.ENVTYPE_MVS
  • Roma.ENVTYPE_OS400
  • Roma.ENVTYPE_VMS

getEnvOS

public int getEnvOS()
Returns the OS type of the environment on which the reporting application is running.
Returns:
one of
  • Roma.ENVOS_AIX
  • Roma.ENVOS_HPUX102
  • Roma.ENVOS_HPUX11
  • Roma.ENVOS_MVSBATCH
  • Roma.ENVOS_MVSCICS
  • Roma.ENVOS_SUN
  • Roma.ENVOS_WIN95
  • Roma.ENVOS_WINNT

getDomainName

public java.lang.String getDomainName()
Returns the domain name. This is a Windows NT or AIX domain name or OS/390 system ID.

getProgramName

public java.lang.String getProgramName()
Returns the name of the application reporting the error.

getUserId

public java.lang.String getUserId()
Returns the user ID under which the reporting application is executing.

getThreadId

public long getThreadId()
Returns the thread ID assigned to the reporting thread’s active thread.

getProcessId

public long getProcessId()
Returns the process ID assigned to the reporting application.