version 1.11, 2005/03/25 00:05:55
|
version 1.11.8.1, 2005/12/30 22:01:03
|
|
|
// 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 &) |
{ | { |
|
|
ObjectNormalizer( | ObjectNormalizer( |
cimClass, | cimClass, |
request->includeQualifiers, | request->includeQualifiers, |
request->includeClassOrigin); |
request->includeClassOrigin, |
|
request->nameSpace, |
|
repository); |
#endif | #endif |
} | } |
| |
|
|
// 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 |
{ | { |
|
|
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 &) |
{ | { |
|
|
ObjectNormalizer( | ObjectNormalizer( |
cimClass, | cimClass, |
request->includeQualifiers, | request->includeQualifiers, |
request->includeClassOrigin); |
request->includeClassOrigin, |
|
request->nameSpace, |
|
repository); |
#endif | #endif |
} | } |
| |
|
|
// 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 |
{ | { |
|
|
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 &) |
{ | { |
|
|
ObjectNormalizer( | ObjectNormalizer( |
cimClass, | cimClass, |
false, | false, |
false); |
false, |
|
request->nameSpace, |
|
repository); |
#endif | #endif |
} | } |
| |