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

LifespanPolicyImpl

public final class LifespanPolicyImpl extends org.omg.CORBA.LocalObject implements LifespanPolicy

Fields Summary
private LifespanPolicyValue
value
Constructors Summary
public LifespanPolicyImpl(LifespanPolicyValue value)

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

	return new LifespanPolicyImpl(value);
    
public voiddestroy()

	value = null;
    
public intpolicy_type()

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

	return "LifespanPolicy[" +
	    ((value.value() == LifespanPolicyValue._TRANSIENT) ?
		"TRANSIENT" : "PERSISTENT" + "]") ;
    
public LifespanPolicyValuevalue()

	return value;