summaryrefslogtreecommitdiff
path: root/src/mongo/base/initializer.h
diff options
context:
space:
mode:
authorShaun Verch <shaun.verch@10gen.com>2013-08-08 15:57:56 -0400
committerShaun Verch <shaun.verch@10gen.com>2013-09-05 13:49:34 -0400
commitace97f9b21cb9a043020e8ecab4309e35461df09 (patch)
tree7a89daa04c291039be18c51aa165058e53e04563 /src/mongo/base/initializer.h
parent43e7502572b4a217eb3f57eee479585ae2a2d19e (diff)
downloadmongo-ace97f9b21cb9a043020e8ecab4309e35461df09.tar.gz
SERVER-8510 Remove configuration variable manager and add option group for command line parsing
Diffstat (limited to 'src/mongo/base/initializer.h')
-rw-r--r--src/mongo/base/initializer.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/mongo/base/initializer.h b/src/mongo/base/initializer.h
index 728672fc5b5..9e659506903 100644
--- a/src/mongo/base/initializer.h
+++ b/src/mongo/base/initializer.h
@@ -18,7 +18,6 @@
#include <string>
#include <vector>
-#include "mongo/base/configuration_variable_manager.h"
#include "mongo/base/disallow_copying.h"
#include "mongo/base/initializer_context.h"
#include "mongo/base/initializer_dependency_graph.h"
@@ -30,11 +29,9 @@ namespace mongo {
* Class representing an initialization process.
*
* Such a process is described by a directed acyclic graph of initialization operations, the
- * InitializerDependencyGraph, and a collection of mutable global state, the
- * ConfigurationVariableManager. One constructs an initialization process by adding nodes and
- * edges to the graph, and variable mappings in the variable manager. Then, one executes the
- * process, causing each initialization operation to execute in an order that respects the
- * programmer-established prerequistes.
+ * InitializerDependencyGraph. One constructs an initialization process by adding nodes and
+ * edges to the graph. Then, one executes the process, causing each initialization operation to
+ * execute in an order that respects the programmer-established prerequistes.
*/
class Initializer {
MONGO_DISALLOW_COPYING(Initializer);
@@ -48,12 +45,6 @@ namespace mongo {
InitializerDependencyGraph& getInitializerDependencyGraph() { return _graph; }
/**
- * Get the configuration variable manager, for the purpose of describing more configurable
- * variables.
- */
- ConfigurationVariableManager& getConfigurationVariableManager() { return _configVariables; }
-
- /**
* Execute the initializer process, using the given argv and environment data as input.
*
* Returns Status::OK on success. All other returns constitute initialization failures,
@@ -65,7 +56,6 @@ namespace mongo {
private:
InitializerDependencyGraph _graph;
- ConfigurationVariableManager _configVariables;
};
/**