com.sun.corba.se.spi.extension.ZeroPortPolicy类的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(110)

本文整理了Java中com.sun.corba.se.spi.extension.ZeroPortPolicy类的一些代码示例,展示了ZeroPortPolicy类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZeroPortPolicy类的具体详情如下:
包路径:com.sun.corba.se.spi.extension.ZeroPortPolicy
类名称: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));

相关文章

ZeroPortPolicy类方法