Package org.jboss.cache.config.parsing

Examples of org.jboss.cache.config.parsing.XmlConfigurationParser2x


      {
         c = parser.parseFile(configFileName);
      }
      catch (ConfigurationException e)
      {
         XmlConfigurationParser2x oldParser = new XmlConfigurationParser2x();
         c = oldParser.parseFile(configFileName);
      }
      return c;
   }
View Full Code Here


      {
         c = parser.parseFile(configFileName);
      }
      catch (ConfigurationException e)
      {
         XmlConfigurationParser2x oldParser = new XmlConfigurationParser2x();
         c = oldParser.parseFile(configFileName);
      }
      return createCache(c, start);
   }
View Full Code Here

      {
         c = parser.parseStream(is);
      }
      catch (ConfigurationException e)
      {
         XmlConfigurationParser2x oldParser = new XmlConfigurationParser2x();
         c = oldParser.parseStream(is);
         if (c != null && log.isInfoEnabled())
            log.info("Detected legacy configuration file format when parsing configuration file.  Migrating to the new (3.x) file format is recommended.  See FAQs for details.");
      }
      return createCache(c);
   }
View Full Code Here

      {
         c = parser.parseFile(configFileName);
      }
      catch (ConfigurationException e)
      {
         XmlConfigurationParser2x oldParser = new XmlConfigurationParser2x();
         c = oldParser.parseFile(configFileName);
      }
      return createCache(c, start);
   }
View Full Code Here

      {
         c = parser.parseStream(is);
      }
      catch (ConfigurationException e)
      {
         XmlConfigurationParser2x oldParser = new XmlConfigurationParser2x();
         c = oldParser.parseStream(is);
         if (c != null && log.isInfoEnabled())
            log.info("Detected legacy configuration file format when parsing configuration file.  Migrating to the new (3.x) file format is recommended.  See FAQs for details.");
      }
      return createCache(c);
   }
View Full Code Here

         if (log.isTraceEnabled()) {
            log.trace("Had problems parsing configuration file.", e);
            log.trace("Attempting to use a legacy parser.");
         }
         try {
            XmlConfigurationParser2x oldParser = new XmlConfigurationParser2x();
            c = oldParser.parseFile(configFileName);
         } catch (Exception e2) {
            throw e;
         }
         if (c != null && log.isInfoEnabled())
            log.info("Detected legacy configuration file format when parsing configuration file.  Migrating to the new (3.x) file format is recommended.  See FAQs for details.");
View Full Code Here

         if (log.isTraceEnabled()) {
            log.trace("Had problems parsing configuration file.", e);
            log.trace("Attempting to use a legacy parser.");
         }
         try {
            XmlConfigurationParser2x oldParser = new XmlConfigurationParser2x();
            c = oldParser.parseStream(is);
         } catch (Exception e2) {
            throw e;
         }
         if (c != null && log.isInfoEnabled())
            log.info("Detected legacy configuration file format when parsing configuration file.  Migrating to the new (3.x) file format is recommended.  See FAQs for details.");
View Full Code Here

TOP

Related Classes of org.jboss.cache.config.parsing.XmlConfigurationParser2x

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.