public interface PolicyFactoryOperations
ORB.create_policy(int, Any)
.Modifier and Type | Method and Description |
---|---|
Policy |
create_policy(int policy_type,
Any policy_value)
Create and return the policy of the given type, having the given value.
|
Policy create_policy(int policy_type, Any policy_value) throws PolicyError
policy_type
- the type of the policy being createdpolicy_value
- the value of the policy, wrapped in Any
.
Depending from the policy, the Any can hold various values,
including complex data structures.PolicyError