Bionic Buffalo Tech Note #50: Effects of Portable Object Adapter Policies
LifespanPolicyValue
Interpretation
Min
TRANSIENT
(default) objects created by the
POA
cannot survive the
POA
itself: once the
POA
is destroyed, the objects must cease to
exist
yes
PERSISTENT
objects created by the
POA
may survive the
POA
: once the
POA
is destroyed, the objects may or may not cease to exist
yes
The implications of either of these policy values are discussed in more detail, below.
IdUniquenessPolicy
The
IdUniquenessPolicy
value specifies how many
ObjectId
values may be associated with a
given servant. The possible values are:
IdUniquenessPolicyValue
Interpretation
Min
UNIQUE_ID
(default) each servant may be associated with no more than a
single
ObjectId
value (that is, no more than one object per
servant)
yes
MULTIPLE_ID
each servant may be associated with multiple
ObjectId
values (in other words, there may be more than one object
per servant)
yes
Note that, in either case, there may be times when a servant might be associated with no
ObjectId
values.
IdAssignmentPolicy
The
IdAssignmentPolicy
value determines who assigns the
ObjectId
values: the
ORB
, or the
servant.
IdAssignmentPolicyValue
Interpretation
Min
SYSTEM_ID
(default) the
ORB
assigns
ObjectId
values
yes
USER_ID
the servant assigns
ObjectId
values
yes
ServantRetentionPolicy
The
ServantRetentionPolicy
value specifies whether or not the
POA
maintains an active
Page 3 of 8