Package org.soybeanMilk.core.bean

Examples of org.soybeanMilk.core.bean.DefaultGenericConverter


   * 创建空的通用转换器对象,用于设置其属性
   * @return
   */
  protected GenericConverter createGenericConverterInstance()
  {
    return new DefaultGenericConverter();
  }
View Full Code Here


    cfg.addExecutable(action);
   
    //创建执行器
    Executor executor=new DefaultExecutor(cfg);
   
    ConvertableObjectSource os = new HashMapObjectSource(new DefaultGenericConverter());
   
    //设置参数
    os.set(argKey_hello_to, "mars");
    os.set(argKey_hello_repeat, 3);
   
View Full Code Here

  private DefaultGenericConverter converter;
 
  @Before
  public void setUp()
  {
    converter = new DefaultGenericConverter();
  }
View Full Code Here

  private HashMapObjectSource objSource;
 
  @Before
  public void setUp()
  {
    objSource=new HashMapObjectSource(new DefaultGenericConverter());
  }
View Full Code Here

    };
    Resolver rp=new ObjectResolver(new TestResolver());
   
    Invoke invoke=new Invoke("test", rp, "test1", args, RESULT_KEY);
   
    ObjectSource os=new HashMapObjectSource(new DefaultGenericConverter());
    os.set("arg0", "arg0");
    os.set("arg1", "1111");
   
    invoke.execute(os);
   
View Full Code Here

   
    Resolver rp=new ObjectSourceResolver("objectSourceResolver");
   
    Invoke invoke=new Invoke("test", rp, "test1", args, RESULT_KEY);
   
    ObjectSource os=new HashMapObjectSource(new DefaultGenericConverter());
    os.set("objectSourceResolver", new TestResolver());
    os.set("arg0", "arg0");
    os.set("arg1", "1111");
   
    invoke.execute(os);
View Full Code Here

   
    Resolver rp=new FactoryResolver(rof, "factoryResolver");
   
    Invoke invoke=new Invoke("test", rp, "test1", args, RESULT_KEY);
   
    ObjectSource os=new HashMapObjectSource(new DefaultGenericConverter());
    os.set("arg0", "arg0");
    os.set("arg1", "1111");
   
    invoke.execute(os);
   
View Full Code Here

   
    Resolver rp=new DynamicResolver(null, new ObjectSourceResolver("dynamicResolver"));
   
    Invoke invoke=new Invoke("test", rp, "test1", args, RESULT_KEY);
   
    ObjectSource os=new HashMapObjectSource(new DefaultGenericConverter());
    os.set("dynamicResolver", new TestResolver());
    os.set("arg0", "arg0");
    os.set("arg1", "1111");
   
    invoke.execute(os);
View Full Code Here

   
    Resolver rp=new DynamicResolver(new FactoryResolver(rof, "dynamicResolver"), null);
   
    Invoke invoke=new Invoke("test", rp, "test1", args, RESULT_KEY);
   
    ObjectSource os=new HashMapObjectSource(new DefaultGenericConverter());
    os.set("arg0", "arg0");
    os.set("arg1", "1111");
   
    invoke.execute(os);
   
View Full Code Here

   
    Resolver rp=new DynamicResolver(new FactoryResolver(rof, "dynamicResolver"), new ObjectSourceResolver("dynamicResolver"));
   
    Invoke invoke=new Invoke("test", rp, "test1", args, RESULT_KEY);
   
    ObjectSource os=new HashMapObjectSource(new DefaultGenericConverter());
    os.set("arg0", "arg0");
    os.set("arg1", "1111");
   
    ExecuteException re=null;
   
View Full Code Here

TOP

Related Classes of org.soybeanMilk.core.bean.DefaultGenericConverter

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.