Example #1
0
 def __init__(self, value):
     if value not in IdUniquenessPolicyValue._items:
         raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
     self._value = value
     self._policy_type = 18
Example #2
0
 def __init__(self, value):
     if value not in ServantRetentionPolicyValue._items:
         raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
     self._value = value
     self._policy_type = 21
Example #3
0
 def __init__(self, value):
     if value not in RequestProcessingPolicyValue._items:
         raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
     self._value = value
     self._policy_type = 22
Example #4
0
 def __init__(self, value):
     if value not in ImplicitActivationPolicyValue._items:
         raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
     self._value = value
     self._policy_type = 20