- Activation is defined as:
- The association between an object ID and a Servant
- Deactivation is the undoing of the association
- In a simple OA, association only happens implicitly at object creation
- The word suggests that an active CORBA object is immediately ready to service requests
- Hence, active and the verb activation
- An OA may do activation internally or defer to user code.
- or throw OBJECT_NOT_EXIST if the object has been destroyed
- An entity providing this service is called a Servant Manager
- The events unfold as:
- An object reference passes the object ID to the object adapter
- The OA then activates a Servant
- The Servant executes the actual CORBA operation.
- After execution, the OA may release (deactivate) the Servant
|