{
// start a thread upon completion of server startup that will mark things as needing
// a refresh, providing an accurate view of all available attributes without requiring
// the client to make an explicit call to refresh(). Failure to do this means
// that an empty or minimal state will be improperly returned.
final RunnableBase refresher = new RunnableBase() {
protected void doRun() {
FeatureAvailability.getInstance().waitForFeature(
SERVER_STARTED_FEATURE, "DottedNamesBase");
setupOldDottedNamesProxy();
mRefreshNeeded = true; // refresh lazily
}
};
refresher.submit( RunnableBase.HowToRun.RUN_IN_SEPARATE_THREAD );
}
}