paths.add("portlet/{mediaType}/jetspeed");
paths.add("portlet/{mediaType}");
paths.add("generic/{mediaType}");
paths.add("/{mediaType}");
HeaderResourceFactory headerFactory = new HeaderResourceFactoryImpl();
ContentServerAdapter contentServer = new ContentServerAdapterImpl(headerFactory, paths);
pageAggregator = new PageAggregatorImpl(renderer, contentServer);
portletAggregator = new PortletAggregatorImpl(renderer);