* @param cc the ConfigContext for this Config
*/
public Config(ConfigContext cc) throws ConfigurationException {
// Parse the xml to get the root config object.
XMLServletConfigurationBuilder configBuilder =
new XMLServletConfigurationBuilder(cc);
// Add the digester parsing rules for the MPS plugin.
// @todo make this part of the internal API and move to MPS
configBuilder.addApplicationPluginRuleSet(new MpsPluginRuleSet());
mariner = configBuilder.buildConfiguration();
// Create references to all the simple sub-objects
AgentConfiguration agent = mariner.getAgent();
AppServerConfiguration appServer = mariner.getAppServer();
DebugConfiguration debug = mariner.getDebug();