public DelegatingServiceRefMetaData() { delegate = new UnifiedServiceRefMetaData(); }
private static UnifiedServiceRefMetaData createServiceRef(final DeploymentUnit unit, final String type, final WSRefAnnotationWrapper annotation, final AnnotatedElement annotatedElement, final String bindingName, final String refKey) throws DeploymentUnitProcessingException { final WSRefRegistry wsRefRegistry = ASHelper.getWSRefRegistry(unit); UnifiedServiceRefMetaData serviceRefUMDM = wsRefRegistry.get(refKey); if (serviceRefUMDM == null) { serviceRefUMDM = new UnifiedServiceRefMetaData(getUnifiedVirtualFile(unit), bindingName); wsRefRegistry.add(refKey, serviceRefUMDM); } initServiceRef(unit, serviceRefUMDM, type, annotation); processWSFeatures(serviceRefUMDM, annotatedElement); return serviceRefUMDM; }
private static UnifiedServiceRefMetaData getServiceRef(final DeploymentUnit unit, final ComponentDescription componentDescription, final String serviceRefName) { final WSReferences wsRefRegistry = getWSRefRegistry(unit); final String cacheKey = getCacheKey(componentDescription, serviceRefName); UnifiedServiceRefMetaData serviceRefUMDM = wsRefRegistry.get(cacheKey); if (serviceRefUMDM == null) { serviceRefUMDM = new UnifiedServiceRefMetaData(getUnifiedVirtualFile(unit)); serviceRefUMDM.setServiceRefName(serviceRefName); wsRefRegistry.add(cacheKey, serviceRefUMDM); } return serviceRefUMDM; }
private static UnifiedServiceRefMetaData createServiceRef(final DeploymentUnit unit, final String type, final WSRefAnnotationWrapper annotation, final AnnotatedElement annotatedElement, final String bindingName, final String refKey) throws DeploymentUnitProcessingException { final WSRefRegistry wsRefRegistry = ASHelper.getWSRefRegistry(unit); UnifiedServiceRefMetaData serviceRefUMDM = wsRefRegistry.get(refKey); if (serviceRefUMDM == null) { serviceRefUMDM = new UnifiedServiceRefMetaData(getUnifiedVirtualFile(unit), bindingName); wsRefRegistry.add(refKey, serviceRefUMDM); } initServiceRef(unit, serviceRefUMDM, type, annotation); processWSFeatures(serviceRefUMDM, annotatedElement); return serviceRefUMDM; }
private static UnifiedServiceRefMetaData getServiceRef(final DeploymentUnit unit, final ComponentDescription componentDescription, final ServiceReferenceMetaData serviceRefMD) throws DeploymentUnitProcessingException { // construct service ref final UnifiedServiceRefMetaData serviceRefUMDM = new UnifiedServiceRefMetaData(getUnifiedVirtualFile(unit)); translate(serviceRefMD, serviceRefUMDM); processWSFeatures(unit, serviceRefMD.getInjectionTargets(), serviceRefUMDM); // register it final WSReferences wsRefRegistry = getWSRefRegistry(unit); final String cacheKey = getCacheKey(componentDescription, serviceRefUMDM); wsRefRegistry.add(cacheKey, serviceRefUMDM); return serviceRefUMDM; }
public UnifiedServiceRefMetaData build() { return new UnifiedServiceRefMetaData(vfsRoot, serviceRefName, serviceInterface, serviceRefType, wsdlFile, mappingFile, serviceQName, portComponentRefs, handlers, handlerChains, serviceImplClass, configName, configFile, wsdlOverride, handlerChain, new AddressingMetadata(addressingAnnotationSpecified, addressingEnabled, addressingRequired, addressingResponses), new MTOMMetadata(mtomAnnotationSpecified, mtomEnabled, mtomThreshold), new RespectBindingMetadata(respectBindingAnnotationSpecified, respectBindingEnabled)); }
private UnifiedServiceRefMetaData getUnifiedServiceRefMetaData(UnifiedVirtualFile vfsRoot, ServiceReferenceMetaData sref) UnifiedServiceRefMetaData result = new UnifiedServiceRefMetaData(vfsRoot); result.setServiceRefName(sref.getServiceRefName()); result.setServiceInterface(sref.getServiceInterface());
private UnifiedServiceRefMetaData getUnifiedServiceRefMetaData(UnifiedVirtualFile vfsRoot, ServiceReferenceMetaData sref) UnifiedServiceRefMetaData result = new UnifiedServiceRefMetaData(vfsRoot); result.setServiceRefName(sref.getServiceRefName()); result.setServiceRefType(sref.getServiceRefType());