Package net.sf.jruby.rails.asyncweb.config

Examples of net.sf.jruby.rails.asyncweb.config.RailsConfig


        assertEquals("railsService", resolver.resolveService(fileRequest));
    }

    protected void setUp() {
        RailsConfig config = new RailsConfig();
        config.setRailsRoot("src/test/rails");

        resolver = new RailsServiceResolver();
        resolver.setFileServiceName("fileService");
        resolver.setRailsServiceName("railsService");
        resolver.setRailsConfig(config);
View Full Code Here


    private RailsDispatchService service = null;

    protected void setUp() throws Exception {
        try {
            RailsConfig config = new RailsConfig();

            config.setRailsRoot("src/test/rails");
            config.addLoadPath("src/main/ruby");

            service = new RailsDispatchService();
            service.setRailsConfig(config);

            service.start();
View Full Code Here

    @Override
    protected void setUp() throws Exception {
        Map<String, String> types = new HashMap<String, String>();
        types.put("txt", "text/plain");

        RailsConfig config = new RailsConfig();
        config.setRailsRoot("src/test/rails");

        service = new RailsFileService();
        service.setRailsConfig(config);

        service.start();
View Full Code Here

TOP

Related Classes of net.sf.jruby.rails.asyncweb.config.RailsConfig

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.