Bionic Buffalo Tech Note #50: Effects of Portable Object Adapter Policies
Servant Resolution in the POA
Within a POA, servant resolution (finding the servant for an
ObjectId
) consists of the following
steps, or of some other set of steps which attains the same end:
Page 6 of 8
locate the servant associated
with an object id or reference
[ RETAIN ]
[ in active
object map ]
return servant
from active
object map
[ NON_RETAIN ]
[ not in active
object map ]
[ USE_DEFAULT_SERVANT ]
[ USE_ACTIVE_
OBJECT_MAP_ONLY ]
raise
OBJECT_
NOT_EXIST
[ default
servant
registered ]
return default
servant
raise
OBJ_ADAPTER
[ default servant
not registered ]
[ no servant manager registered ]
[ USE_
SERVANT_
MANAGER ]
return value
from servant
manager
[ servant
manager
registered ]
Copyright 2003
Bionic Buffalo
check ServantRetentionPolicy
check RequestProcessingPolicy
is object id in active
object map?
is a default
servant
registered?
has a servant manager
been registered?