(file) Return to OperationResponseHandler.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2

Diff for /pegasus/src/Pegasus/ProviderManager2/OperationResponseHandler.cpp between version 1.11.8.1 and 1.12

version 1.11.8.1, 2005/12/30 22:01:03 version 1.12, 2006/01/10 19:41:20
Line 112 
Line 112 
  
 void OperationResponseHandler::setStatus( void OperationResponseHandler::setStatus(
     const Uint32 code,     const Uint32 code,
     const ContentLanguages & langs,      const ContentLanguageList & langs,
     const String & message)     const String & message)
 { {
     _response->cimException =     _response->cimException =
Line 276 
Line 276 
     // operation.     // operation.
     CIMClass cimClass;     CIMClass cimClass;
  
     CIMRepository * repository = 0;  
   
     try     try
     {     {
         CachedClassDefinitionContainer container =         CachedClassDefinitionContainer container =
             request->operationContext.get(CachedClassDefinitionContainer::NAME);             request->operationContext.get(CachedClassDefinitionContainer::NAME);
  
         cimClass = container.getClass();         cimClass = container.getClass();
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
         RepositoryContainer repContainer =  
             request->operationContext.get(RepositoryContainer::NAME);  
         repository = repContainer.getRepository();  
 #endif //PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
     }     }
     catch(Exception &)     catch(Exception &)
     {     {
Line 300 
Line 294 
         ObjectNormalizer(         ObjectNormalizer(
             cimClass,             cimClass,
             request->includeQualifiers,             request->includeQualifiers,
             request->includeClassOrigin,              request->includeClassOrigin);
             request->nameSpace,  
             repository);  
     #endif     #endif
 } }
  
Line 398 
Line 390 
     // operation. If it does not exist, then this feature is disabled for this     // operation. If it does not exist, then this feature is disabled for this
     // operation.     // operation.
     CIMClass cimClass;     CIMClass cimClass;
     CIMRepository * repository = 0;  
  
     try     try
     {     {
Line 406 
Line 397 
             request->operationContext.get(CachedClassDefinitionContainer::NAME);             request->operationContext.get(CachedClassDefinitionContainer::NAME);
  
         cimClass = container.getClass();         cimClass = container.getClass();
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
         RepositoryContainer repContainer =  
             request->operationContext.get(RepositoryContainer::NAME);  
         repository = repContainer.getRepository();  
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
     }     }
     catch(Exception &)     catch(Exception &)
     {     {
Line 422 
Line 408 
         ObjectNormalizer(         ObjectNormalizer(
             cimClass,             cimClass,
             request->includeQualifiers,             request->includeQualifiers,
             request->includeClassOrigin,              request->includeClassOrigin);
             request->nameSpace,  
             repository);  
     #endif     #endif
 } }
  
Line 473 
Line 457 
     // operation. If it does not exist, then this feature is disabled for this     // operation. If it does not exist, then this feature is disabled for this
     // operation.     // operation.
     CIMClass cimClass;     CIMClass cimClass;
     CIMRepository * repository = 0;  
  
     try     try
     {     {
Line 481 
Line 464 
             request->operationContext.get(CachedClassDefinitionContainer::NAME);             request->operationContext.get(CachedClassDefinitionContainer::NAME);
  
         cimClass = container.getClass();         cimClass = container.getClass();
 #ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
         RepositoryContainer repContainer =  
             request->operationContext.get(RepositoryContainer::NAME);  
         repository = repContainer.getRepository();  
 #endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT  
     }     }
     catch(Exception &)     catch(Exception &)
     {     {
Line 497 
Line 475 
         ObjectNormalizer(         ObjectNormalizer(
             cimClass,             cimClass,
             false,             false,
             false,              false);
             request->nameSpace,  
             repository);  
     #endif     #endif
 } }
  
Line 1018 
Line 994 
     }     }
  
     // l10n     // l10n
     ContentLanguages contentLangs;      ContentLanguageList contentLangs;
  
     try     try
     {     {


Legend:
Removed from v.1.11.8.1  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2