Package org.infoglue.deliver.util

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


            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

       
        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

      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

        CacheController.getCachedObject("principalPropertyValueCache", key);
   
    if(value != null)
          CacheController.cacheObject("principalPropertyValueCache", key, value);
      else
          CacheController.cacheObject("principalPropertyValueCache", key, new NullObject());
   
    return value;
 
View Full Code Here

        }

        if(contentTypeDefinitionVO != null)
            CacheController.cacheObject("contentTypeDefinitionCache", key, contentTypeDefinitionVO);
        else
            CacheController.cacheObject("contentTypeDefinitionCache", key, new NullObject());
         
        results.close();
        oql.close();
      }
      catch(Exception e)
View Full Code Here

    }
   
    if(attributes != null)
        CacheController.cacheObject("contentTypeDefinitionCache", key, attributes);
    else
      CacheController.cacheObject("contentTypeDefinitionCache", key, new NullObject());
       
    return attributes;
  }
View Full Code Here

        synchronized (valueMapType5)
        {
          if(o != null)
            valueMapType5.put(key, o);     
          else
            valueMapType5.put(key, new NullObject());               
        }
    }
    if(type == 10)
    {
        synchronized (valueMapType10)
        {
          if(o != null)
            valueMapType10.put(key, o);     
          else
            valueMapType10.put(key, new NullObject());               
        }
    }
   
      //if(key.indexOf("error") > -1)
      //  System.out.println("o:" + o);
View Full Code Here

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

          interceptionPointVO = interceptorPoint.getValueObject();
          CacheController.cacheObject(cacheName, key, interceptionPointVO);       
        }
        else
       
            CacheController.cacheObject(cacheName, key, new NullObject());
        }
       
        results.close();
        oql.close();
      }
View Full Code Here

TOP

Related Classes of org.infoglue.deliver.util.NullObject

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.