FileDocCategorySizeDatePackage
ServantRetentionPolicyImpl.javaAPI DocJava SE 5 API1019Fri Aug 26 14:54:28 BST 2005com.sun.corba.se.impl.oa.poa

ServantRetentionPolicyImpl

public final class ServantRetentionPolicyImpl extends org.omg.CORBA.LocalObject implements ServantRetentionPolicy

Fields Summary
private ServantRetentionPolicyValue
value
Constructors Summary
public ServantRetentionPolicyImpl(ServantRetentionPolicyValue value)

	this.value = value;
    
Methods Summary
public Policycopy()

	return new ServantRetentionPolicyImpl(value);
    
public voiddestroy()

	value = null;
    
public intpolicy_type()

	return SERVANT_RETENTION_POLICY_ID.value ;
    
public java.lang.StringtoString()

	return "ServantRetentionPolicy[" +
	    ((value.value() == ServantRetentionPolicyValue._RETAIN) ?
		"RETAIN" : "NON_RETAIN" + "]") ;
    
public ServantRetentionPolicyValuevalue()

	return value;