summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/engine_v8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/engine_v8.h')
-rw-r--r--src/mongo/scripting/engine_v8.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/scripting/engine_v8.h b/src/mongo/scripting/engine_v8.h
index 2ece1eab79d..991e2f63fcd 100644
--- a/src/mongo/scripting/engine_v8.h
+++ b/src/mongo/scripting/engine_v8.h
@@ -91,10 +91,18 @@ namespace mongo {
/** check if there is a pending killOp request */
bool isKillPending() const;
+ /**
+ * Connect to a local database, create a Mongo object instance, and load any
+ * server-side js into the global object
+ */
virtual void localConnect(const char* dbName);
virtual void externalSetup();
+ virtual void installDBAccess();
+
+ virtual void installBSONTypes();
+
virtual string getError() { return _error; }
virtual bool hasOutOfMemoryException();