本文整理了Java中com.sun.corba.se.spi.extension.ZeroPortPolicy
类的一些代码示例,展示了ZeroPortPolicy
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZeroPortPolicy
类的具体详情如下:
包路径:com.sun.corba.se.spi.extension.ZeroPortPolicy
类名称:ZeroPortPolicy
[英]Policy used to implement zero IIOP port policy in the POA.
[中]
代码示例来源:origin: wildfly/wildfly
List<Policy> policies = new ArrayList<Policy>();
if(this.sslOnly)
policies.add(ZeroPortPolicy.getPolicy());
if (this.idAssignmentPolicyValue != null)
policies.add(poa.create_id_assignment_policy(this.idAssignmentPolicyValue));
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public final boolean forceZeroPort()
{
Integer key = new Integer( ORBConstants.ZERO_PORT_POLICY ) ;
ZeroPortPolicy policy = (ZeroPortPolicy)policyMap.get( key ) ;
if (policy == null)
return false ;
else
return policy.forceZeroPort() ;
}
代码示例来源:origin: wildfly/wildfly
policyList.add(ZeroPortPolicy.getPolicy());
代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk
List<Policy> policies = new ArrayList<Policy>();
if(this.sslOnly)
policies.add(ZeroPortPolicy.getPolicy());
if (this.idAssignmentPolicyValue != null)
policies.add(poa.create_id_assignment_policy(this.idAssignmentPolicyValue));
代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk
List<Policy> policies = new ArrayList<Policy>();
if(this.sslOnly)
policies.add(ZeroPortPolicy.getPolicy());
if (this.idAssignmentPolicyValue != null)
policies.add(poa.create_id_assignment_policy(this.idAssignmentPolicyValue));
内容来源于网络,如有侵权,请联系作者删除!