Previous Table of Contents Next


4.8.3 Usages of Policy Objects


   Policy Objects are used in general to encapsulate information about a specific policy, with an interface derived from the policy interface. The type of the Policy object determines how the policy information contained within it is used. Usually a Policy object is associated with another object to associate the contained policy with that object.

   Objects with which policy objects are typically associated are Domain Managers, POA, the execution environment, both the process/capsule/ORB instance and thread of execution (Current object) and object references. Only certain types of policy object can be meaningfully associated with each of these types of objects.

   These relationships are documented in sections that pertain to these individual objects and their usages in various core facilities and object services. The use of Policy Objects with the POA are discussed in the Portable Object Adapter chapter. The use of Policy objects in the context of the Security services, involving their association with Domain Managers as well as with the Execution Environment are discussed in the Security Service specification.

   In the following section the association of Policy objects with the Execution Environment is discussed. In Section 4.9, “Management of Policies? on page 4-44 the use of Policy objects in association with Domain Managers is discussed.