public interface PolicyFactoryOperations
ORB.create_policy(int, Any).ORB.create_policy(int, org.omg.CORBA.Any),
ORBInitInfoOperations.register_policy_factory(int, org.omg.PortableInterceptor.PolicyFactory)| Modifier and Type | Method and Description |
|---|---|
org.omg.CORBA.Policy |
create_policy(int policy_type,
org.omg.CORBA.Any policy_value)
Create and return the policy of the given type, having the given value.
|
org.omg.CORBA.Policy create_policy(int policy_type, org.omg.CORBA.Any policy_value) throws org.omg.CORBA.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.org.omg.CORBA.PolicyError