AR System Java API

com.bmc.arsys.api
Class Config

java.lang.Object
  extended by com.bmc.arsys.api.Config

public class Config
extends Object


Method Summary
 int getApiRecording()
           
 String getCatalogFileName()
           
 int getConnectionMaxRetries()
           
static Config getInstance()
          Return the config singleton
 int getJniLoadMode()
           
 boolean getJrpcMode()
           
 int getMinimumSupportedServerRpcVersion()
           
 int getTimeLagBetweenRetriesMillSecc()
           
 org.apache.commons.lang.builder.ToStringStyle getToStringStyle()
           
 boolean isStringizeFieldAssignments()
           
 boolean isStringizeSetIfQualification()
           
static void refresh()
          Refresh the config singleton with the latest config file
 void resetJrpcMode()
          Reset the JRpc mode from the configuration
 void setJrpcMode(boolean newMode)
           
 void setStringizeFieldAssignments(boolean stringizeFieldAssignments)
           
 void setStringizeSetIfQualification(boolean stringizeSetIfQualification)
           
 void setToStringStyle(String toStringStyleName)
           
 void setToStringStyle(org.apache.commons.lang.builder.ToStringStyle toStringStyle)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Config getInstance()
Return the config singleton


getCatalogFileName

public String getCatalogFileName()
Returns:
the catalogFileName

getJrpcMode

public boolean getJrpcMode()
Returns:
the jrpcMode

getJniLoadMode

public int getJniLoadMode()
Returns:
the jniLoadMode

getApiRecording

public int getApiRecording()
Returns:
the apiRecordingMode

getMinimumSupportedServerRpcVersion

public int getMinimumSupportedServerRpcVersion()
Returns:
the MinimumSupportedServerRpcVersion

getConnectionMaxRetries

public int getConnectionMaxRetries()
Returns:
the connectionMaxRetries

getTimeLagBetweenRetriesMillSecc

public int getTimeLagBetweenRetriesMillSecc()
Returns:
the timeLagBetweenRetriesMillSec

getToStringStyle

public org.apache.commons.lang.builder.ToStringStyle getToStringStyle()
Returns:
the toStringStyle

setToStringStyle

public void setToStringStyle(org.apache.commons.lang.builder.ToStringStyle toStringStyle)
Parameters:
toStringStyle - the toStringStyle to set

setToStringStyle

public void setToStringStyle(String toStringStyleName)
                      throws ClassNotFoundException,
                             SecurityException,
                             NoSuchFieldException,
                             IllegalArgumentException,
                             IllegalAccessException
Throws:
ClassNotFoundException
SecurityException
NoSuchFieldException
IllegalArgumentException
IllegalAccessException

isStringizeFieldAssignments

public boolean isStringizeFieldAssignments()
Returns:
the stringizeFieldAssignments

setStringizeFieldAssignments

public void setStringizeFieldAssignments(boolean stringizeFieldAssignments)
Parameters:
stringizeFieldAssignments - the stringizeFieldAssignments to set

isStringizeSetIfQualification

public boolean isStringizeSetIfQualification()
Returns:
the stringizeSetIfQualification

setStringizeSetIfQualification

public void setStringizeSetIfQualification(boolean stringizeSetIfQualification)
Parameters:
stringizeSetIfQualification - the stringizeSetIfQualification to set

refresh

public static void refresh()
Refresh the config singleton with the latest config file


setJrpcMode

public void setJrpcMode(boolean newMode)
Parameters:
newMode - JRpc mode to set: true or false

resetJrpcMode

public void resetJrpcMode()
Reset the JRpc mode from the configuration


AR System Java API

? Copyright 2006, 2007 BMC Software, Inc.