use of org.neo4j.kernel.impl.query.clientconnection.ClientConnectionInfo in project neo4j by neo4j.
the class TransitionalPeriodTransactionMessContainer method create.
public TransactionalContext create(HttpServletRequest request, GraphDatabaseQueryService service, Type type, SecurityContext securityContext, String query, Map<String, Object> queryParameters) {
TransactionalContextFactory contextFactory = Neo4jTransactionalContextFactory.create(service, locker);
ClientConnectionInfo clientConnection = HttpConnectionInfoFactory.create(request);
InternalTransaction transaction = service.beginTransaction(type, securityContext);
return contextFactory.newContext(clientConnection, transaction, query, queryParameters);
}
Aggregations