Exemple #1
0
        public SessionFactoryImpl(HttpServletRequest request, IList <string> supportedEngines, CypherExecutor cypherExecutor)
        {
            this._request        = request;
            this._httpSession    = request.getSession(true);
            this._cypherExecutor = cypherExecutor;

            EnableEngines(supportedEngines);
        }
Exemple #2
0
 public CypherSession(CypherExecutor cypherExecutor, LogProvider logProvider, HttpServletRequest request)
 {
     this._cypherExecutor = cypherExecutor;
     this._log            = logProvider.getLog(this.GetType());
     this._request        = request;
 }
Exemple #3
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: public ConsoleService(@Context Config config, @Context Database database, @Context LogProvider logProvider, @Context HttpServletRequest req, @Context OutputFormat output, @Context CypherExecutor cypherExecutor)
        public ConsoleService(Config config, Database database, LogProvider logProvider, HttpServletRequest req, OutputFormat output, CypherExecutor cypherExecutor) : this(new SessionFactoryImpl(req, config.get(ServerSettings.console_module_engines), cypherExecutor), database, logProvider, output)
        {
        }