Name

ServantRetentionPolicyValue

Synopsis

This class represents the value of an ServantRetentionPolicy for a POA. A value of ServantRetentionPolicyValue.RETAIN indicates that active servants are kept in an active object map. A value of ServantRetentionPolicyValue.NON_RETAIN indicates that active servants are not kept in an active object map. The default value is RETAIN.

                  Implementations
public class ServantRetentionPolicyValue implements org.omg.CORBA.portable.IDLEntity {
// Protected Constructors
   protected ServantRetentionPolicyValue( int value);  
// Public Constants
   public static final int _NON_RETAIN;                          // =1
   public static final int _RETAIN;                              // =0

           public static final ServantRetentionPolicyValue NON_RETAIN;  
   public static final ServantRetentionPolicyValue RETAIN;  
// Public Class Methods
   public static ServantRetentionPolicyValue from_int(
        int value);  
// Public Instance Methods
   public int value();  
}

Passed To

POAOperations.create_servant_retention_policy()

Returned By

ServantRetentionPolicyOperations.value(), ServantRetentionPolicyValue.from_int()

Type Of

ServantRetentionPolicyValue.{NON_RETAIN, RETAIN}

Get Java Enterprise in a Nutshell, Second Edition 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.