public class TestConfigPreProcessor implements ConfigPreProcessor<View>
{
@Override
public View beforeAddToConfig(View metaData, ViewConfigNode viewConfigNode)
{
return new ViewLiteral("/test/", "view", "custom", View.NavigationMode.DEFAULT, View.ViewParameterMode.DEFAULT,
View.DefaultBasePathBuilder.class, View.DefaultFileNameBuilder.class, View.DefaultExtensionBuilder.class);
}