public JetspeedEngine(Configuration configuration, String applicationRoot, ServletConfig config, ComponentManager componentManager )
{
this.configuration = configuration;
this.applicationRoot = applicationRoot;
this.componentManager = componentManager;
this.context = new JetspeedPortalContext(this, configuration, applicationRoot);
this.config = config;
context.setApplicationRoot(applicationRoot);
context.setConfiguration(configuration);
defaultPipelineName = configuration.getString(PIPELINE_DEFAULT, "jetspeed-pipeline");