for (Annotation webServiceFeatureAnnotation : webServiceFeatureAnnotations) {
Class<? extends Annotation> webServiceFeatureAnnotationType = webServiceFeatureAnnotation.annotationType();
if (webServiceFeatureAnnotationType == MTOM.class) {
MTOM mtom = (MTOM) webServiceFeatureAnnotation;
if (portComponentRef.getMtomThreshold() == null) {
portComponentRef.setMtomThreshold(mtom.threshold());
}
if (portComponentRef.getEnableMtom() == null) {
portComponentRef.setEnableMtom(mtom.enabled());
}
} else if (webServiceFeatureAnnotationType == javax.xml.ws.soap.Addressing.class) {