Package org.crsh.lang.impl.java

Examples of org.crsh.lang.impl.java.JavaLanguage


  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


  }

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

TOP

Related Classes of org.crsh.lang.impl.java.JavaLanguage

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.