FileDocCategorySizeDatePackage
ZeroPortPolicy.javaAPI DocJava SE 5 API1094Fri Aug 26 14:54:36 BST 2005com.sun.corba.se.spi.extension

ZeroPortPolicy

public class ZeroPortPolicy extends org.omg.CORBA.LocalObject implements org.omg.CORBA.Policy
Policy used to implement zero IIOP port policy in the POA.

Fields Summary
private static ZeroPortPolicy
policy
private boolean
flag
Constructors Summary
private ZeroPortPolicy(boolean type)


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

	return this ;
    
public voiddestroy()

	// NO-OP
    
public booleanforceZeroPort()

	return flag ;
    
public static synchronized com.sun.corba.se.spi.extension.ZeroPortPolicygetPolicy()

	return policy ;
    
public intpolicy_type()

	return ORBConstants.ZERO_PORT_POLICY ;
    
public java.lang.StringtoString()

	return "ZeroPortPolicy[" + flag + "]" ;