BidServantManager incarnate()
  • Looking at the incarnate() implementation
  • The incarnate() method gets two parameters
    • the object ID of the object to activate
    • the POA making the request
      • one servant manager could serve several POAs
  • Convert the octet sequence to a string
  • Create the implementation object, three cases
    • storage manager says object is new
      • pass isNew as true to constructor
    • storage manager says object state exists
      • pass isNew as false
    • object id not found (perhaps deleted)
      • Raise the OBJECT_NOT_EXIST exception
  • BidImpl needs storage manager and object id to read/write its state.

Next Slide >>