Package org.jruby.webapp

Examples of org.jruby.webapp.RailsFactory


* and expose them in the jruby ENV runtime env
*/
public class SonarRailsContextListener extends RailsContextListener {
 
  protected RailsFactory createRailsFactory() {
    RailsFactory goldSpikeRailsFactoryImpl = super.createRailsFactory();
    SonarContext sonarCtx = SonarContext.getInstance();
    for ( String ctxKey : sonarCtx.keys() ) {
        goldSpikeRailsFactoryImpl.addEnvironmentOverride( ctxKey, sonarCtx.get(ctxKey) );
    }
    return goldSpikeRailsFactoryImpl;
  }
View Full Code Here

TOP

Related Classes of org.jruby.webapp.RailsFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.