org.jacorb.orb.policies

Class PolicyUtil

public class PolicyUtil extends Object

Method Summary
static voidcheckValidity(Map policies)
determine if a given set of policies is consistent called e.g., from PolicyManager operations to check if arguments are okay.
static booleanisInvocationPolicy(int policyType)
determine if a policy applies to operation invocations or not, called e.g., from PolicyManager operations to check if arguments are okay.

Method Detail

checkValidity

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

Throws: org.omg.CORBA.InvalidPolicies a list of indices identifying the position in the input policies list that are occupied by invalid policies

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.