protected void postCreationOperations(TilesContextFactory contextFactory,
TilesApplicationContext tilesContext,
RendererFactory rendererFactory, AttributeEvaluator evaluator,
Map<String, String> initParameters,
Map<String, String> configuration, BasicTilesContainer container) {
DefinitionsFactory defsFactory =
(DefinitionsFactory) createFactory(configuration,
DEFINITIONS_FACTORY_INIT_PARAM);
if (defsFactory instanceof TilesApplicationContextAware) {
((TilesApplicationContextAware) defsFactory)
.setApplicationContext(tilesContext);
}
defsFactory.init(configuration);
container.setDefinitionsFactory(defsFactory);
}