CORBA Programming Reference
void CORBA::Policy::destroy();
If the policy object determines that it cannot be destroyed, the CORBA::NO_PERMISSION
exception is raised.
This operation destroys the policy object. It is the responsibility of the policy object to determine whether it can be destroyed.
Note: This function is supported only for a joint client/server.
The mapping of the PortableServer member functions to C++ is as follows:
// C++
class PortableServer
{
public:
class LifespanPolicy;
class IdAssignmentPolicy;
class POA::find_POA
class reference_to_id
class POAManager;
class POA;
class Current;
class virtual ObjectId
class ServantBase};
A value that is used by the POA and by the user-supplied implementation to identify a particular abstract CORBA object. ObjectId
values may be assigned and managed by the POA, or they may be assigned and managed by the implementation. ObjectId
values are hidden from clients, encapsulated by references. ObjectIds
have no standard form; they are managed by the POA as uninterpreted octet sequences.