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 static void processMTOMAnnotation(final AnnotatedElement anElement, final UnifiedServiceRefMetaData serviceRefUMDM) { final MTOM mtomAnnotation = getAnnotation(anElement, MTOM.class); if (mtomAnnotation != null) { serviceRefUMDM.setMTOMMetadata(new MTOMMetadata(true, mtomAnnotation.enabled(), mtomAnnotation.threshold())); } }
private static void processMTOMAnnotation(final AnnotatedElement anElement, final UnifiedServiceRefMetaData serviceRefUMDM) { final MTOM mtomAnnotation = getAnnotation(anElement, MTOM.class); if (mtomAnnotation != null) { serviceRefUMDM.setMTOMMetadata(new MTOMMetadata(true, mtomAnnotation.enabled(), mtomAnnotation.threshold())); } }