iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/service/CorbaPOAService.java
private Policy[] createPolicies(POA poa) {
        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));
        if (this.idUniquenessPolicyValue != null)
            policies.add(poa.create_id_uniqueness_policy(this.idUniquenessPolicyValue));
        if (this.implicitActivationPolicyValue != null)
            policies.add(poa.create_implicit_activation_policy(this.implicitActivationPolicyValue));
        if (this.lifespanPolicyValue != null)
            policies.add(poa.create_lifespan_policy(this.lifespanPolicyValue));
        if (this.requestProcessingPolicyValue != null)
            policies.add(poa.create_request_processing_policy(this.requestProcessingPolicyValue));
        if (this.servantRetentionPolicyValue != null)
            policies.add(poa.create_servant_retention_policy(this.servantRetentionPolicyValue));
        if (this.threadPolicyValue != null)
            policies.add(poa.create_thread_policy(this.threadPolicyValue));


        return policies.toArray(new Policy[policies.size()]);
    }
private Policy[] createPolicies(POA poa) {
        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));
        if (this.idUniquenessPolicyValue != null)
            policies.add(poa.create_id_uniqueness_policy(this.idUniquenessPolicyValue));
        if (this.implicitActivationPolicyValue != null)
            policies.add(poa.create_implicit_activation_policy(this.implicitActivationPolicyValue));
        if (this.lifespanPolicyValue != null)
            policies.add(poa.create_lifespan_policy(this.lifespanPolicyValue));
        if (this.requestProcessingPolicyValue != null)
            policies.add(poa.create_request_processing_policy(this.requestProcessingPolicyValue));
        if (this.servantRetentionPolicyValue != null)
            policies.add(poa.create_servant_retention_policy(this.servantRetentionPolicyValue));
        if (this.threadPolicyValue != null)
            policies.add(poa.create_thread_policy(this.threadPolicyValue));


        return policies.toArray(new Policy[policies.size()]);
    }
<p>
Create the {@code Policy} array containing the {@code POA} policies using the values specified in the constructor.
When creating a {@code POA}, the parent {@code POA} is responsible for generating the relevant policies beforehand.
</p>

@param poa the {@code POA} used to create the {@code Policy} objects.
@return the constructed {@code Policy} array.