Package jfun.yan.xml

Examples of jfun.yan.xml.NutsProcessor.processFile()


  }*/
  public void test2()
  throws IOException{
    final NutsProcessor interpreter = new NutsProcessor();
    SpringNuts.setSpringAware("test2", interpreter);
    interpreter.processFile("test/yan/test_spring.xml");
    final Container yan = interpreter.getContainer();
    final Greeter greeter = (Greeter)yan
      .getInstance("myController");
    greeter.greet();
    final Factory factory = (Factory)yan.getInstance("myfactory");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.