COM+ Programming A Practical Guide Using Visual C++ and ATL [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

COM+ Programming A Practical Guide Using Visual C++ and ATL [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید




Summary


In this chapter, we saw that the COM+ programming model is based on defining out-of-band attributes on a COM+ application. This lets the administrator of the application control its behavior. The configuration settings are stored in the COM+ catalog.

When an object is activated, COM+ ensures that the object runs in an appropriate context and correctly sets it up to receive the services it had requested. By providing a comprehensive interception mechanism, COM+ ensures that this run-time environment of the object is maintained during the lifetime of the object.

An object from a non-configured component runs in a default context.

A context is represented by a unique COM object called the object context (OC). The SDK provides APIs to let an object access its contexts OC.

Finally, we looked at how an object can use the activators context or the callers context.

A few of the configuration attributes were examined in detail in this chapter. In the chapters to follow, we will examine many other important attributes.


/ 125