org.jacorb.orb.policies
Class PolicyUtil

java.lang.Object
  extended byorg.jacorb.orb.policies.PolicyUtil

public class PolicyUtil
extends java.lang.Object


Constructor Summary
PolicyUtil()
           
 
Method Summary
static void checkValidity(java.util.HashMap policies)
          determine if a given set of policies is consistent called e.g., from PolicyManager operations to check if arguments are okay.
static boolean isInvocationPolicy(int policyType)
          determine if a policy applies to operation invocations or not, called e.g., from PolicyManager operations to check if arguments are okay.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyUtil

public PolicyUtil()
Method Detail

isInvocationPolicy

public static boolean isInvocationPolicy(int policyType)
determine if a policy applies to operation invocations or not, called e.g., from PolicyManager operations to check if arguments are okay.


checkValidity

public static void checkValidity(java.util.HashMap policies)
                          throws InvalidPolicies
determine if a given set of policies is consistent called e.g., from PolicyManager operations to check if arguments are okay.

Throws:
InvalidPolicies - a list of indices identifying the position in the input policies list that are occupied by invalid policies