protected void setPolicyRegistryFromService(AxisService axisService) { PolicyInclude policyInclude = axisService.getPolicyInclude(); this.registry = policyInclude.getPolicyRegistry(); }
protected void setPolicyRegistryFromService(AxisService axisService) { PolicyInclude policyInclude = axisService.getPolicyInclude(); this.registry = policyInclude.getPolicyRegistry(); }
.getPolicyRegistry(), false);
/** * @param moduleId * @param moduleVersion * @return PolicyData * @throws AxisFault */ public PolicyData[] getPolicies(String moduleId, String moduleVersion) throws AxisFault { AxisModule axisModule = getAxisConfig().getModule(moduleId, moduleVersion); if (axisModule == null) { throw new AxisFault("Invalid module name"); } ArrayList policyDataArray = new ArrayList(); PolicyInclude policyInclude = axisModule.getPolicyInclude(); PolicyRegistry registry = policyInclude.getPolicyRegistry(); // module.xml List policyList = policyInclude.getPolicyElements(PolicyInclude.AXIS_MODULE_POLICY); if (!policyList.isEmpty()) { PolicyData policyData = new PolicyData(); policyData.setWrapper("Policies in module.xml"); policyData.setPolycies(PolicyUtil.processPolicyElements(policyList.iterator(), registry)); policyDataArray.add(policyData); } return (PolicyData[]) policyDataArray.toArray(new PolicyData[policyDataArray.size()]); }
public PolicyInclude(AxisDescription axisDescription) { if (axisDescription.getParent() != null) { PolicyInclude parentPolicyInclude = axisDescription.getParent().getPolicyInclude(); reg = new PolicyRegistryImpl(parentPolicyInclude.getPolicyRegistry()); } else { reg = new PolicyRegistryImpl(); } setDescription(axisDescription); }
public PolicyInclude(AxisDescription axisDescription) { if (axisDescription.getParent() != null) { PolicyInclude parentPolicyInclude = axisDescription.getParent().getPolicyInclude(); reg = new PolicyRegistryImpl(parentPolicyInclude.getPolicyRegistry()); } else { reg = new PolicyRegistryImpl(); } setDescription(axisDescription); }
PolicyRegistry registry = servicePolicyInclude.getPolicyRegistry();
PolicyRegistry registry = policyInclude.getPolicyRegistry(); List policyList = policyInclude.getPolicyElements(PolicyInclude.AXIS_MESSAGE_POLICY); PolicyRegistry registry = policyInclude.getPolicyRegistry(); List policyList = policyInclude.getPolicyElements(PolicyInclude.AXIS_OPERATION_POLICY); PolicyRegistry registry = policyInclude.getPolicyRegistry();