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

RequestProcessingPolicyImpl

public class RequestProcessingPolicyImpl extends LocalObject implements RequestProcessingPolicy

Fields Summary
private RequestProcessingPolicyValue
value
Constructors Summary
public RequestProcessingPolicyImpl(RequestProcessingPolicyValue value)

	this.value = value;
    
Methods Summary
public org.omg.CORBA.Policycopy()

	return new RequestProcessingPolicyImpl(value);
    
public voiddestroy()

	value = null;
    
public intpolicy_type()

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

	String type = null ;
	switch (value.value()) {
	    case RequestProcessingPolicyValue._USE_ACTIVE_OBJECT_MAP_ONLY :
		type = "USE_ACTIVE_OBJECT_MAP_ONLY" ;
		break ;
	    case RequestProcessingPolicyValue._USE_DEFAULT_SERVANT :
		type = "USE_DEFAULT_SERVANT" ;
		break ;
	    case RequestProcessingPolicyValue._USE_SERVANT_MANAGER :
		type = "USE_SERVANT_MANAGER" ;
		break ;
	}

	return "RequestProcessingPolicy[" + type + "]" ;
    
public org.omg.PortableServer.RequestProcessingPolicyValuevalue()

	return value;