PolicyFactory Interface

An IOR that represents an object is created by POA. The policies used to create a POA affect the tagged components in the profile of the IOR. ORB services may introduce new polices related to their services. The interface PolicyFactory allows to create these new policies:

module PortableInterceptor
{
    local interface PolicyFactory{
        CORBA::Policy create_policy(
            in CORBA::PolicyType type,
            in any value)
        raises (CORBA::PolicyError);
    };
};

The interface PolicyFactory has one operation, create_policy. During ORB initialization, a portable service implementation registers an instance of the PolicyFactory interface. When CORBA::ORB::create_policy is called for the PolicyType under which the PolicyFactory is registered, a ORB calls ...

Get Pure CORBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.