if (container instanceof BasicTilesContainer) {
BasicTilesContainer basic = (BasicTilesContainer) container;
DefinitionsFactory factory = basic.getDefinitionsFactory();
if (factory instanceof ReloadableDefinitionsFactory) {
ReloadableDefinitionsFactory rFactory = (ReloadableDefinitionsFactory) factory;
if (rFactory.refreshRequired()) {
rFactory.refresh();
}
}
}
}