TorqueBox 3.1.2

org.torquebox.web.rails
Class RailsRuntimeInitializer

java.lang.Object
  extended by org.torquebox.core.runtime.BaseRuntimeInitializer
      extended by org.torquebox.web.rack.RackRuntimeInitializer
          extended by org.torquebox.web.rails.RailsRuntimeInitializer
All Implemented Interfaces:
RuntimeInitializer

public class RailsRuntimeInitializer
extends RackRuntimeInitializer


Field Summary
 
Fields inherited from class org.torquebox.web.rack.RackRuntimeInitializer
rackAppMetaData
 
Constructor Summary
RailsRuntimeInitializer(RubyAppMetaData rubyAppMetaData, RackMetaData rackAppMetaData, RailsMetaData railsAppMetaData)
           
 
Method Summary
 void addAutoloadPath(String path)
           
protected  String createBoot()
           
 List<String> getAutoloadPaths()
           
 String getRailsEnv()
           
 void initialize(org.jruby.Ruby ruby, String runtimeContext)
           
protected  void makeAutoloadPathsAvailable(org.jruby.Ruby ruby)
           
 
Methods inherited from class org.torquebox.web.rack.RackRuntimeInitializer
getInitializerScript, getRackEnv, setRuntimeType
 
Methods inherited from class org.torquebox.core.runtime.BaseRuntimeInitializer
getApplicationRoot, getRubyAppMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RailsRuntimeInitializer

public RailsRuntimeInitializer(RubyAppMetaData rubyAppMetaData,
                               RackMetaData rackAppMetaData,
                               RailsMetaData railsAppMetaData)
Method Detail

getRailsEnv

public String getRailsEnv()

addAutoloadPath

public void addAutoloadPath(String path)

getAutoloadPaths

public List<String> getAutoloadPaths()

initialize

public void initialize(org.jruby.Ruby ruby,
                       String runtimeContext)
                throws Exception
Specified by:
initialize in interface RuntimeInitializer
Overrides:
initialize in class RackRuntimeInitializer
Throws:
Exception

createBoot

protected String createBoot()

makeAutoloadPathsAvailable

protected void makeAutoloadPathsAvailable(org.jruby.Ruby ruby)

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.