version 1.19, 2006/01/30 16:17:33
|
version 1.19.30.2, 2007/01/18 01:18:00
|
|
|
| |
| |
#include "compilerDeclContext.h" | #include "compilerDeclContext.h" |
|
#include "Policy.h" |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
CIMInstance &x) | CIMInstance &x) |
{ | { |
if (_ot == compilerCommonDefs::USE_REPOSITORY) | if (_ot == compilerCommonDefs::USE_REPOSITORY) |
|
{ |
_repository->_createInstance(nameSpace, x); | _repository->_createInstance(nameSpace, x); |
|
|
|
#if defined(PEGASUS_ENABLE_PRIVILEGE_SEPARATION) |
|
|
|
// If the class name is "PG_ProviderModule", then the policy file must |
|
// be updated before asking the CIM server to create the instance. |
|
|
|
String className = x.getClassName().getString(); |
|
|
|
if (String::equalNoCase(className, "PG_ProviderModule")) |
|
UpdatePolicyFile(0, nameSpace, x); |
|
|
|
#endif /* defined(PEGASUS_ENABLE_PRIVILEGE_SEPARATION) */ |
|
} |
} | } |
| |
void | void |