O'Reilly logo

Pure CORBA by Fintan Bolton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required