// call the super class's getMenuModule() method as that would invoke
// this createMenuModule() method causing infinite recursion.
MenuModule delegate = super.createMenuModule(factoryFilter);
MenuModuleRendererFactory rendererFactory =
new OpenwaveMenuModuleRendererFactory(getRendererContext(),
getDeprecatedOutputLocator(),
getMenuModuleCustomisation());
if (factoryFilter != null) {
rendererFactory = factoryFilter.decorate(rendererFactory);