Skip to content

Commit

Permalink
Allow Titan Server to initialize scriptengine with a script.
Browse files Browse the repository at this point in the history
Similar to functionality with Rexster.  Allows server-side logic to be initialized to the scriptengine for future calls through the script engine via RexPro.
  • Loading branch information
spmallette committed Mar 15, 2013
1 parent d6ce9dc commit 6e33195
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public RexsterTitanServer(final XMLConfiguration rexsterConfig, final Configurat
}

public void start() {
EngineController.configure(-1, null);
EngineController.configure(-1, this.rexsterConfig.getString("script-engine-init", null));
graph = TitanFactory.open(titanConfig);
final RexsterApplication ra = new DefaultRexsterApplication(DEFAULT_GRAPH_NAME, graph);
try {
Expand Down

0 comments on commit 6e33195

Please sign in to comment.