ClientBeanTest.java 文件源码

java
阅读 40 收藏 0 点赞 0 评论 0

项目:TakinRPC 作者:
@Test
public void testList() {
    try {
        PropertyConfigurator.configure("conf/log4j.properties");
        final Hello hello = ProxyFactory.create(Hello.class, "test", null, null);

        User u = new User();
        u.setAge(12);
        u.setName("nana");
        u.setStart(new Date());
        System.out.println("result: " + hello.getall(u));
        System.out.println("");
        u.setName("lua");
        System.out.println("result: " + hello.getall(u));
        System.out.println("");
    } catch (Exception e) {
        e.printStackTrace();
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号