* @param context The context.
* @return The context factory.
* @since 2.1.0
*/
protected TilesContextFactory createContextFactory(Object context) {
ChainedTilesContextFactory contextFactory = new ChainedTilesContextFactory();
registerChainedContextFactories(context, contextFactory);
return contextFactory;
}