Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 740eeb2b9a
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (20 sloc) 1.054 kb
jruby-rack: Lifecycle:
- startup factories
- create jetty
- register filter + servlet
- register context-listener
- @context-startup RackApplication.init is called and the ruby-vm is started (runs config.ru)
Ruby-Home: META-INFO/jruby.home from jruby-complete.jar is used to determine jruby-home-dir.
files are loaded via java-resource-loader, ATTENTION: when developing the source/resources dirs are invalid!
org.neo4j.server.extension.script.JRubyExtensionInitializer
- wire up resources
- creates EmbeddedRackApplicationFactory and JRubyRackContext
- creates jersey-provider (injectables)
org.neo4j.server.extension.script.EmbeddedRackApplicationFactory
- singleton-holder for the JRuby-Runtime
- prepare ruby-dependencies (bundler-gem, user-gemfile *)
- wire up Ruby-VM / GraphDatabaseService + Servlet-Context
org.neo4j.server.extension.script.JRubyRackContext
- install ruby-rack context into jetty-context
- setup init-parameters like jruby-runtimes, confix.ru *
config.ru + user-gemfile -> data is kept on the reference-node
Jump to Line
Something went wrong with that request. Please try again.