com.candle.roma.kxc
Class RomaConfig

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

public final class RomaConfig
extends java.lang.Object

This class defines the Roma environment configuration of the application.

See Also:
RomaExceptionInfo

Method Summary
 java.lang.String getComponentName()
          Returns the name of the business component reporting the error.
 java.lang.String getElementName()
          Returns the name of the application (client, server, or bridge) that sent the message to the exception message handler.
 int getElementType()
          Returns the type of application that sent the message to the exception message handler.
 java.lang.String getNodeName()
          Returns the name of the node on which the error occurred.
 java.lang.String getQueueName()
          Returns the name of the application’s input (that is, response or request) queue.
 java.lang.String getServiceName()
          Returns the name of the business service of which this application is a member.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getElementName

public java.lang.String getElementName()
Returns the name of the application (client, server, or bridge) that sent the message to the exception message handler.

getElementType

public int getElementType()
Returns the type of application that sent the message to the exception message handler.
Returns:
one of
  • Roma.APPTYPE_CLIENT - the sender is a client
  • Roma.APPTYPE_SERVER - the sender is a server
  • Roma.APPTYPE_BRIDGE - the sender is a bridge

getQueueName

public java.lang.String getQueueName()
Returns the name of the application’s input (that is, response or request) queue.

getComponentName

public java.lang.String getComponentName()
Returns the name of the business component reporting the error. Meaningful only if the reporting application is a server (that is, a business element).

getServiceName

public java.lang.String getServiceName()
Returns the name of the business service of which this application is a member. Meaningful only if the reporting application is a server (that is, a business element).

getNodeName

public java.lang.String getNodeName()
Returns the name of the node on which the error occurred.