## Uses of Class
org.omg.PortableServer.ServantRetentionPolicyValue

- Packages that use ServantRetentionPolicyValue
  Package | Description
  --- | ---
  org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs.

- - ### Uses of ServantRetentionPolicyValue in org.omg.PortableServer

    Fields in org.omg.PortableServer declared as ServantRetentionPolicyValue
    Modifier and Type | Field | Description
    --- | --- | ---
    `static ServantRetentionPolicyValue` | ServantRetentionPolicyValue.`NON_RETAIN`
    `static ServantRetentionPolicyValue` | ServantRetentionPolicyValue.`RETAIN`

    Methods in org.omg.PortableServer that return ServantRetentionPolicyValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ServantRetentionPolicyValue` | ServantRetentionPolicyValue.`from_int(int value)`
    `ServantRetentionPolicyValue` | ServantRetentionPolicyOperations.`value()` specifies the policy value

    Methods in org.omg.PortableServer with parameters of type ServantRetentionPolicyValue
    Modifier and Type | Method | Description
    --- | --- | ---
    `ServantRetentionPolicy` | POAOperations.`create_servant_retention_policy(ServantRetentionPolicyValue value)` These operations each return a reference to a policy object with the specified value.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.