Package org.jboss.virtual.spi.cache.helpers

Examples of org.jboss.virtual.spi.cache.helpers.NoopVFSCache


      //this should resolve as file:/home/csams/tmp/deploy
      URL dir = (URL) editor.getValue();

      CombinedVFSCache cache = new CombinedVFSCache();
      VFSCacheFactory.setInstance(cache);
      VFSCache realCache = new NoopVFSCache();
      realCache.start();
      cache.setRealCache(realCache);

      try
      {
        cache.setPermanentRoots(Collections.<URL, ExceptionHandler>singletonMap(dir, null));
View Full Code Here


      assertNotNull(testPath);
      assertNotNull(testName);

      CombinedVFSCache cache = new CombinedVFSCache();                          
      VFSCache realCache = new NoopVFSCache();
      realCache.start();
      cache.setRealCache(realCache);
      VFSCacheFactory.setInstance(cache);
      try
      {
         String rootText = StringPropertyReplacer.replaceProperties("${test.dir}");
View Full Code Here

      assertNotNull(testPath);
      assertNotNull(testName);

      CombinedVFSCache cache = new CombinedVFSCache();                          
      VFSCache realCache = new NoopVFSCache();
      realCache.start();
      cache.setRealCache(realCache);
      VFSCacheFactory.setInstance(cache);
      try
      {
         String rootText = StringPropertyReplacer.replaceProperties("${test.dir}");
View Full Code Here

         catch (Throwable t)
         {
            log.warn("Exception instantiating VFS cache: ", t);
         }
         log.info("Using VFSCache [NoopVFSCache]");
         return new NoopVFSCache();
      }
View Full Code Here

    * Check if real cache has been set.
    */
   private void check()
   {
      if (realCache == null)
         realCache = new NoopVFSCache();
   }
View Full Code Here

    * Check if real cache has been set.
    */
   private void check()
   {
      if (realCache == null)
         realCache = new NoopVFSCache();
   }
View Full Code Here

TOP

Related Classes of org.jboss.virtual.spi.cache.helpers.NoopVFSCache

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.