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 LocalObject implements LifespanPolicy

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

	this.value = value;
    
Methods Summary
public org.omg.CORBA.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 org.omg.PortableServer.LifespanPolicyValuevalue()

	return value;