org.omg.CORBA
Interface PolicyOperations

All Known Subinterfaces:
IdAssignmentPolicy, IdAssignmentPolicyOperations, IdUniquenessPolicy, IdUniquenessPolicyOperations, ImplicitActivationPolicy, ImplicitActivationPolicyOperations, LifespanPolicy, LifespanPolicyOperations, Policy, RequestProcessingPolicy, RequestProcessingPolicyOperations, ServantRetentionPolicy, ServantRetentionPolicyOperations, ThreadPolicy, ThreadPolicyOperations
All Known Implementing Classes:
_PolicyStub

public interface PolicyOperations

Defines the operations that can be applied to the Policy object.


Method Summary
 Policy copy()
          Return a copy of this Policy.
 void destroy()
          Destroy the policy object.
 int policy_type()
          Return an integer number, corresponding the type of this policy.
 

Method Detail

copy

Policy copy()
Return a copy of this Policy.

Returns:
a copy of theis Policy, without any retained relationships to the previous domain or object.

destroy

void destroy()
Destroy the policy object.


policy_type

int policy_type()
Return an integer number, corresponding the type of this policy. The values, defining the different policy types, are allocated by OMG (request AT omg DOT org).

Returns:
the integer policy code.