/* */ }
/* */
/* */ public void processPolicyExtensions(EndpointMetaData epMetaData, WSDLDefinitions wsdlDefinitions)
/* */ {
/* 158 */ DOMPolicyReader reader = (DOMPolicyReader)PolicyFactory.getPolicyReader(3);
/* 159 */ PolicyRegistry localPolicyRegistry = new PolicyRegistry();
/* 160 */ for (WSDLExtensibilityElement policyElement : wsdlDefinitions.getExtensibilityElements("http://www.jboss.org/jbossws/wsp/policy"))
/* */ {
/* 162 */ org.apache.ws.policy.Policy policy = reader.readPolicy(policyElement.getElement());
/* 163 */ localPolicyRegistry.register(policy.getPolicyURI(), policy);
/* */ }
/* */
/* 166 */ WSDLService wsdlService = wsdlDefinitions.getService(epMetaData.getServiceMetaData().getServiceName());
/* 167 */ if (wsdlService != null)
/* */ {