ConfigContext serverContext = getConfigContext(mInstanceName);
applyNeeded = serverContext.isChanged();
}
catch (ConfigException e)
{
throw new ServerInstanceException(e.getMessage());
}
if (!applyNeeded && checkAllFiles) {
InstanceEnvironment ie = new InstanceEnvironment(mInstanceName);
applyNeeded = ie.hasRealmsKeyConfFileChanged();
}