private static void testCIMSPLClientSideProvider(String path)
{
try
{
TestClient tc = new TestClient();
List policyList = _getPolicyNames();
Iterator policyNameIterator = policyList.iterator();
while(policyNameIterator.hasNext())
{
String policyName = (String)policyNameIterator.next();
try
{
tc.deletePolicy(policyName);
}
catch(SPLException e)
{
}
tc.createPolicy(path, policyName);
tc.executePolicy(policyName);
}
try
{
tc.deletePolicy("testElement1Policy");
tc.deletePolicy("CascadedPolicyInvocation");
}
catch(SPLException e)
{
}
tc.createPolicy(path,"testElement1Policy");
tc.createPolicy(path,"CascadedPolicyInvocation");
tc.executePolicy("CascadedPolicyInvocation");
tc.shutdown();
}
catch (SPLException e)
{
// TODO Auto-generated catch block