public int getMtomThreshold() { return this.mtomMetadata.getThreshold(); }
public boolean isMtomAnnotationSpecified() { return this.mtomMetadata.isAnnotationSpecified(); }
public boolean isMtomEnabled() { return this.mtomMetadata.isEnabled(); }
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)); }
str.append("\n addressingRequired=" + addressingMetadata.isRequired()); str.append("\n addressingResponses=" + addressingMetadata.getResponses()); str.append("\n mtomAnnotationSpecified=" + mtomMetadata.isAnnotationSpecified()); str.append("\n mtomEnabled=" + mtomMetadata.isEnabled()); str.append("\n mtomThreshold=" + mtomMetadata.getThreshold()); str.append("\n respectBindingAnnotationSpecified=" + respectBindingMetadata.isAnnotationSpecified()); str.append("\n respectBindingEnabled=" + respectBindingMetadata.isEnabled());
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())); } }