Examples of IMapper


Examples of com.taobao.top.analysis.statistics.map.IMapper

      throw new java.lang.RuntimeException("entry id can't be null...");
   
    if (start.getAttributeByName(new QName("", "mapClass")) != null) {
      String className = start.getAttributeByName(
          new QName("", "mapClass")).getValue();
      IMapper mapper = ReportUtil.getInstance(IMapper.class,
          Thread.currentThread().getContextClassLoader(),className,
          true);
      assert mapper != null;
      entry.setMapClass(mapper);
    }else{
View Full Code Here

Examples of jifx.commons.mapper.ejb.IMapper

      Hashtable<String, String> env = new Hashtable<String, String>();
      env.put("java.naming.factory.initial",
        "org.jboss.naming.NamingContextFactory");
      env.put("java.naming.provider.url", "localhost:1099");
      context = new InitialContext(env);
      IMapper remote = (IMapper) context.lookup("MapperImp/remote");
      MapElement element = new MapElement();
      element.setKey("858");
      element.setValue("UY");
      element.setDescription("C�digo de moneda en pesos");
      remote.addMapping(element);
      MapElement mm = remote.getMapElement("m","858");
      System.out.println("Moneda: " + mm.getValue());
  } catch (NamingException e) {
      e.printStackTrace();
  }
    }
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.