Package org.xmlBlaster.contrib

Examples of org.xmlBlaster.contrib.VersionTransformerCache


  
   public void init(I_Info info) throws Exception {
      this.info = info;
      this.xslTransformerName = this.info.get("dbWriter.xslTransformerName", (String)null);
      if (this.xslTransformerName != null && this.xslTransformerName.length() > 0) {
         this.transformerCache = new VersionTransformerCache();
         this.transformerCache.verifyTransformerName(this.xslTransformerName);
      }
      this.useReaderCharset = this.info.getBoolean("useReaderCharset", false);
   }
View Full Code Here


      this.replications = new TreeMap();
      this.topicToPrefixMap = new HashMap();
      this.counterMap = new HashMap();
      this.replSlaveMap = new TreeMap();
      this.sqlStatementMap = new TreeMap();
      this.transformerCache = new VersionTransformerCache();
      this.initialDataTopicSet = new HashSet();
   }
View Full Code Here

      String replPrefix = "test";
      String srcVersion = "01";
      String destVersion = "02";
      String destination = "client/subject/1";
     
      VersionTransformerCache cache = new VersionTransformerCache();
     
      try {
         byte[] ret = cache.transform(replPrefix, srcVersion, destVersion, destination, srcData.getBytes(), null);
         log.info(new String(ret));
      }
      catch (Exception ex) {
         ex.printStackTrace();
      }
View Full Code Here

         String replPrefix = "test";
         String srcVersion = "01";
         String destVersion = "02";
         String destination = "client/subject/1";

         VersionTransformerCache cache = new VersionTransformerCache();

         try {
            byte[] ret = cache.transform(replPrefix, srcVersion, destVersion, destination, srcData.getBytes(), subLoader);
            log.info(new String(ret));
            ret = cache.transform(replPrefix, srcVersion, destVersion, destination, srcData.getBytes(), subLoader);
            log.info(new String(ret));
            destVersion = "03";
            ret = cache.transform(replPrefix, srcVersion, destVersion, destination, srcData.getBytes(), subLoader);
            log.info(new String(ret));
           
            {
               String in = "repl_Ver_0.5.dump";
               String prefix = VersionTransformerCache.stripReplicationPrefix(in);
View Full Code Here

TOP

Related Classes of org.xmlBlaster.contrib.VersionTransformerCache

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.