Package org.crsh.lang.impl.groovy

Examples of org.crsh.lang.impl.groovy.GroovyLanguageProxy


  protected SMTPServer createServer(MessageHandlerFactory mhf) {
    return new SMTPServer(mhf);
  }

  protected TestPluginLifeCycle createLifeCycle() throws Exception {
    TestPluginLifeCycle test = new TestPluginLifeCycle(new MailPlugin(), new GroovyLanguageProxy(), new JavaLanguage());
    test.setProperty(MailPlugin.SMTP_HOST, "localhost");
    test.setProperty(MailPlugin.SMTP_PORT, 5000);
    test.setProperty(MailPlugin.SMTP_FROM, "foo@gmail.com");
    return test;
  }
View Full Code Here


      lifecycle = new TestPluginLifeCycle(new CronPlugin() {
        @Override
        protected Resource getConfig() {
          return new Resource("contrab", crontab.getBytes(), 0);
        }
      }, new GroovyLanguageProxy(), new CRaSHShellFactory());
      lifecycle.start();
    }
View Full Code Here

    super(name);
  }

  protected List<CRaSHPlugin<?>> getPlugins() {
    ArrayList<CRaSHPlugin<?>> plugins = new ArrayList<CRaSHPlugin<?>>();
    plugins.add(new GroovyLanguageProxy());
    plugins.add(new JavaLanguage());
    return plugins;
  }
View Full Code Here

  public static final ArrayList<Object> list = new ArrayList<Object>();

  @Override
  protected List<CRaSHPlugin<?>> getPlugins() {
    List<CRaSHPlugin<?>> plugins = super.getPlugins();
    plugins.add(new GroovyLanguageProxy());
    return plugins;
  }
View Full Code Here

TOP

Related Classes of org.crsh.lang.impl.groovy.GroovyLanguageProxy

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.