// would be overridden by those in the config files when the properties are loaded from file. Fortunatly the static
// block for the logging has the nice side effect of loading the config too, so it works out ok.
public InetAddress getTransactionStatusManagerInetAddress()
{
PropertyManager pm = PropertyManagerFactory.getPropertyManager("com.arjuna.ats.propertymanager", "recoverymanager");
try {
return Utility.hostNameToInetAddress(pm.getProperty(com.arjuna.ats.arjuna.common.Environment.TRANSACTION_STATUS_MANAGER_ADDRESS), "");
} catch(UnknownHostException e) {
log.warn("UnknownHostException from getTransactionStatusManagerInetAddress, input was: "+pm.getProperty(com.arjuna.ats.arjuna.common.Environment.TRANSACTION_STATUS_MANAGER_ADDRESS));
return null;
}
}