Examples of NullObject


Examples of org.infoglue.deliver.util.NullObject

//            TODO - TEST - NOT SAFE
            //if(propertyName.equals("GUFlashImages") || key.indexOf("MiniArticleShortcuts") > -1)
            //  logger.warn("Storing NULL 1:" + templateController.getDeliveryContext().getDebugInformation());
          if(templateController.getHttpServletRequest().getParameter("siteNodeVersionId") == null || templateController.getHttpServletRequest().getParameter("siteNodeVersionId").equals(""))
          {
              CacheController.cacheObjectInAdvancedCacheWithGroupsAsSet("componentPropertyCache", key.toString(), new NullObject(), groups, true);
              CacheController.cacheObjectInAdvancedCacheWithGroupsAsSet("componentPropertyVersionIdCache", versionKey, contentVersionIdList, groups, true);
              CacheController.cacheObjectInAdvancedCacheWithGroupsAsSet("componentPropertyVersionIdCache", usedEntitiesKey, usedContentEntities, groups, true);
          }
        }
        /*
 
View Full Code Here

Examples of org.infoglue.deliver.util.NullObject

        if(!skipCaches)
        {
          if(value != null)
            CacheController.cacheObject(cacheName, cacheKey, value);
          else
            CacheController.cacheObject(cacheName, cacheKey, new NullObject());
        }
 
        if(logger.isInfoEnabled())
        logger.info("Getting property " + cacheKey + " took:" + timer.getElapsedTime());
       
View Full Code Here

Examples of org.infoglue.deliver.util.NullObject

            CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, infogluePrincipal, null, false);
      }
      catch(PrincipalNotFoundException pnfe)
      {
        logger.warn("Warning:" + pnfe.getMessage());
          CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      }
      catch(Exception e)
      {
        logger.error("Error:" + e.getMessage(), e);
          CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      }
      finally
      {
        ctx.close();
      }
View Full Code Here

Examples of org.infoglue.deliver.util.NullObject

          if(infogluePrincipal != null)
            CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, infogluePrincipal, null, false);
      }
      catch(Exception e)
      {
          CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      }
    }
       
    return infogluePrincipal;
  }
View Full Code Here

Examples of org.infoglue.deliver.util.NullObject

        logger.info("-----------------------\n");
    }
    catch (Exception e)
    {
        CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      logger.warn("Could not find Role: " + e.getMessage());
    }

   
    return infoglueRole;
View Full Code Here

Examples of org.infoglue.deliver.util.NullObject

      logger.info("-----------------------\n");
    }
    catch (Exception e)
    {
        CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      logger.info("Could not find Group: " + e.getMessage());
    }   
    return infoglueGroup;
  }
View Full Code Here

Examples of org.infoglue.deliver.util.NullObject

            CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, infogluePrincipal, null, false);
      }
      catch(PrincipalNotFoundException pnfe)
      {
        logger.warn("Warning:" + pnfe.getMessage());
          CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      }
      catch(Exception e)
      {
        logger.error("Error:" + e.getMessage(), e);
          CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      }
      finally
      {
        ctx.close();
      }
View Full Code Here

Examples of org.infoglue.deliver.util.NullObject

            CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, infogluePrincipal, null, false);
      }
      catch(Exception e)
      {
        //e.printStackTrace();
          CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      }
    }
       
    return infogluePrincipal;
  }
View Full Code Here

Examples of org.infoglue.deliver.util.NullObject

        logger.info("-----------------------\n");
    }
    catch (Exception e)
    {
        CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      logger.info("Could not find Role: " + e.getMessage());
    }

   
    return infoglueRole;
View Full Code Here

Examples of org.infoglue.deliver.util.NullObject

      logger.info("-----------------------\n");
    }
    catch (Exception e)
    {
        CacheController.cacheObjectInAdvancedCache("JNDIAuthorizationCache", key, new NullObject(), null, false);
      logger.info("Could not find Group: " + e.getMessage());
    }   
    return infoglueGroup;
  }
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.