FileDocCategorySizeDatePackage
ServantRetentionPolicyValue.javaAPI DocJava SE 5 API1749Fri Aug 26 17:25:04 BST 2005org.omg.PortableServer

ServantRetentionPolicyValue

public class ServantRetentionPolicyValue extends Object implements org.omg.CORBA.portable.IDLEntity
ServantRetentionPolicyValue can have the following values. RETAIN - to indicate that the POA will retain active servants in its Active Object Map. NON_RETAIN - to indicate Servants are not retained by the POA. If no ServantRetentionPolicy is specified at POA creation, the default is RETAIN.

Fields Summary
private int
__value
private static int
__size
private static ServantRetentionPolicyValue[]
__array
public static final int
_RETAIN
public static final ServantRetentionPolicyValue
RETAIN
public static final int
_NON_RETAIN
public static final ServantRetentionPolicyValue
NON_RETAIN
Constructors Summary
protected ServantRetentionPolicyValue(int value)

    __value = value;
    __array[__value] = this;
  
Methods Summary
public static org.omg.PortableServer.ServantRetentionPolicyValuefrom_int(int value)

    if (value >= 0 && value < __size)
      return __array[value];
    else
      throw new org.omg.CORBA.BAD_PARAM ();
  
public intvalue()


     
  
    return __value;