Iterator it=arrayCop.iterator();
while(it.hasNext())
{
arrayOfInstancesParamSizeGreaterThanZero=true;
CIMObjectPath copI=(CIMObjectPath)it.next();
String objectName=copI.getObjectName();
//InstanceInfo iI=new InstanceInfo(objectName,copI);
//List instanceInfoList = new ArrayList();
//instanceInfoList.add(iI);
objMap.put(objectName, copI);
Integer retVal=(Integer)_policyManager.evaluatePolicy(policyRuleName,objMap);
if (logger.isLoggable(Level.FINE))
logger.fine(Thread.currentThread().getName()+" return value is = "+retVal);
objMap.remove(objectName);
logger.exiting(sourceClass,Thread.currentThread().getName()+" "+"invokeMethod");
}
}
break;
}
}
}
if( !inparamsIsNotNull || !inparamsLengthGreaterThanZero || !arrayOfInstancesParamFound ||
!arrayOfInstancesParamSizeGreaterThanZero)
{
logger.fine(Thread.currentThread().getName() + "no instances passed evaluating against all");
PolicyInfo policyInfo=this._policyManager.getPolicyInfo(policyRuleName);
Map classQuaifierMap=policyInfo.getClassQualifierMap();
Iterator classit=classQuaifierMap.keySet().iterator();
if(classQuaifierMap.size()==0 || classQuaifierMap.size()>1)
{
logger.severe(Thread.currentThread().getName() + "Multiple Import classes not supported in CIM-SPL");
}
while(classit.hasNext())
{
String className=(String)classit.next();
String nameSpace=(String)classQuaifierMap.get(className);
CIMObjectPath classCop=new CIMObjectPath(className,nameSpace);
Enumeration copEnum=_handle.enumerateInstanceNames(classCop);
while(copEnum.hasMoreElements())
{
CIMObjectPath copI=(CIMObjectPath)copEnum.nextElement();
logger.fine(Thread.currentThread().getName() + "instance objectpath= "+copI.toString());
String objectName=copI.getObjectName();
if(objectName.equalsIgnoreCase(className))
{
// InstanceInfo iI=new InstanceInfo(objectName,copI);
//