POA Policies

Policies provide a generic mechanism for configuring a CORBA ORB. Each policy is represented by an object that inherits from the CORBA::Policy IDL interface. They are used extensively by the POA. Table 7.1 gives a list of standard POA policy types and the allowed values for each policy.

Table 7.1. POA Policy Types
POA Policy TypeAllowed Values
ThreadPolicy 
ORB_CTRL_MODELSINGLE_THREAD_MODEL
LifespanPolicyTRANSIENT PERSISTENT
IdAssignmentPolicySYSTEM_ID USER_ID
IdUniquenessPolicyUNIQUE_ID MULTIPLE_ID
RequestProcessingPolicyUSE_ACTIVE_OBJECT_MAP_ONLY USE_DEFAULT_SERVANT USE_SERVANT_MANAGER
ServantRetentionPolicyRETAINNON_RETAIN
ImplicitActivationPolicyNO_IMPLICIT_ACTIVATION IMPLICIT_ACTIVATION

When all of the POA policies are used in combination, ...

Get Pure CORBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.