Bionic Buffalo Tech Note #50: Effects of Portable Object Adapter Policies
that the system can create the object id) and that
ServantRetentionPolicy = RETAIN
(so
there is an active object map in the first place).
ImplicitActivationPolicyValue
Interpretation
Min
NO_IMPLICIT_ACTIVATION
(default) the
POA
does not support implicit activation
yes
IMPLICIT_ACTIVATION
the
POA
supports implicit activation
no
RootPOA
Policy Values
The
RootPOA
is created during
ORB
initialization, so there is no opportunity to specify policy values
for it. Certain values are defined for the
RootPOA
policies. These are:
ThreadPolicy = ORB_CTRL_MODEL
LifespanPolicy = TRANSIENT
ObjectIdUniquenessPolicy = UNIQUE_ID
IdAssignmentPolicy = SYSTEM_ID
ServantRetentionPolicy = RETAIN
RequestProcessingPolicy = USE_ACTIVE_OBJECT_MAP_ONLY
ImplicitActivationPolicy = IMPLICIT_ACTIVATION
Note that these values are the same as the default values, except for the
ImplicitActivationPolicy
.
Minimum CORBA is not required to support
IMPLICIT_ACTIVATION
, so the values for a
Minimum CORBA
ORB
RootPOA
have
ImplicitActivationPolicy =
NO_IMPLICIT_ACTIVATION
, and thus are the same as the default values for a new
POA
.
Valid Policy Value Combinations
Because of the way the policies affect each other, certain combinations of values are invalid, and
certain values require other values. The rules are:
IMPLICIT_ACTIVATION
requires
SYSTEM_ID
and
RETAIN
UNIQUE_ID
is incompatible with
NON_RETAIN
NON_RETAIN
requires either
USE_DEFAULT_SERVANT
or
USE_SERVANT_MANAGER
USE_ACTIVE_OBJECT_MAP_ONLY
requires
RETAIN
Page 5 of 8