Life cycle events of CORBA object lifecycle

Source: Internet
Author: User

For CORBA objects, the following two life cycle events are important:

• The life cycle of creating--corba objects begins with the creation of events. CORBA objects are typically created from factory objects, that is, objects provide operations to create new objects. Recall that, at the IDL level, CORBA does not have a static function concept like a constructor.

• Deletes the life cycle of the--corba object and ends with the deletion event. Typically, CORBA objects can be removed by defining some kind of delet () operation in their IDL interface. Sometimes, you can remove CORBA objects through other objects, for example, by creating factory objects of these objects.

Because the CORBA object is actually implemented by a servo object, it also takes a look at the life cycle of the servo object. This article defines the following two lifecycle events for the servo object:

• Activation--Activates the event so that the servo object can handle requests entered for a particular CORBA object. This suggests that the binding between an abstract CORBA object and a specific servo object is created by object I d. Usually (but not necessarily), the activation event also includes the instantiation of the servo object.

• Freeze-The result of freezing events is to unbind the servo object from the CORBA object. Usually (but not necessarily), the freeze event also includes the destruction of the servo object.

Note that there is a fundamental difference between the creation and deletion of CORBA objects and their activation and freezing. For many types of CORBA objects, the CORBA object lifecycle includes activation and freezing of multiple servo objects, as shown in Figure 1.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.