Implicit Activation

The IMPLICIT_ACTIVATION policy value enables you to activate a CORBA object and create a corresponding object reference from the servant object in a single step using the servant’s _this() function.

To enable implicit activation, the POA policies shown in Table 7.10 must be used together.

Table 7.10. Policy Values Required for Implicit Activation
POA Policy TypePolicy Value

If you attempt to set the IMPLICIT_ACTIVATION policy value without using the SYSTEM_ID and RETAIN policy values as well, the POA::create_POA() operation raises the InvalidPolicy user exception.

Consider, for example, the RecycleBroker::BranchOffice interface, ...

Get Pure CORBA now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.