org.omg.PortableServer
Interface ServantRetentionPolicyOperations
- All Superinterfaces:
- PolicyOperations
- All Known Subinterfaces:
- ServantRetentionPolicy
public interface ServantRetentionPolicyOperations
- extends PolicyOperations
Objects with the ServantRetentionPolicy interface are obtained
using the POA::create_servant_retention_policy operation and
passed to the POA::create_POA operation to specify whether the
created POA retains active servants in an Active Object Map. The
following values can be supplied.
- RETAIN - The POA will retain active servants in its
Active Object Map.
- NON_RETAIN - Servants are not retained by the POA.
If no ServantRetentionPolicy is specified at POA creation, the
default is RETAIN. Note: The NON_RETAIN policy requires either the
USE_DEFAULT_SERVANT or USE_SERVANT_MANAGER policies.
value
ServantRetentionPolicyValue value()
Read the latest documentation online