Source:
public DefaultMethodEndpointAdapter defaultMethodEndpointAdapter() { final DefaultMethodEndpointAdapter defaultMethodEndpointAdapter = new DefaultMethodEndpointAdapter(); final List<MethodArgumentResolver> methodArgumentResolvers = new ArrayList<MethodArgumentResolver>(); methodArgumentResolvers.add(this.smartMeteringManagementMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringBundleMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringInstallationMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringMonitoringMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringAdhocMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringConfigurationMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(new AnnotationMethodArgumentResolver(ORGANISATION_IDENTIFICATION_CONTEXT, OrganisationIdentification.class)); methodArgumentResolvers.add(new AnnotationMethodArgumentResolver(MESSAGE_PRIORITY_CONTEXT, MessagePriority.class)); defaultMethodEndpointAdapter.setMethodArgumentResolvers(methodArgumentResolvers); final List<MethodReturnValueHandler> methodReturnValueHandlers = new ArrayList<MethodReturnValueHandler>(); methodReturnValueHandlers.add(this.smartMeteringManagementMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringBundleMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringInstallationMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringMonitoringMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringAdhocMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringConfigurationMarshallingPayloadMethodProcessor()); defaultMethodEndpointAdapter.setMethodReturnValueHandlers(methodReturnValueHandlers); return defaultMethodEndpointAdapter; }

Target:
public DefaultMethodEndpointAdapter defaultMethodEndpointAdapter() { final DefaultMethodEndpointAdapter defaultMethodEndpointAdapter = new DefaultMethodEndpointAdapter(); final List<MethodArgumentResolver> methodArgumentResolvers = new ArrayList<MethodArgumentResolver>(); methodArgumentResolvers.add(this.smartMeteringManagementMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringBundleMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringInstallationMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringMonitoringMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringAdhocMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(this.smartMeteringConfigurationMarshallingPayloadMethodProcessor()); methodArgumentResolvers.add(new AnnotationMethodArgumentResolver(ORGANISATION_IDENTIFICATION_CONTEXT, OrganisationIdentification.class)); methodArgumentResolvers.add(new AnnotationMethodArgumentResolver(MESSAGE_PRIORITY_CONTEXT, MessagePriority.class)); methodArgumentResolvers.add(new AnnotationMethodArgumentResolver(MESSAGE_SCHEDULETIME_HEADER, ScheduleTime.class)); defaultMethodEndpointAdapter.setMethodArgumentResolvers(methodArgumentResolvers); final List<MethodReturnValueHandler> methodReturnValueHandlers = new ArrayList<MethodReturnValueHandler>(); methodReturnValueHandlers.add(this.smartMeteringManagementMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringBundleMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringInstallationMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringMonitoringMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringAdhocMarshallingPayloadMethodProcessor()); methodReturnValueHandlers.add(this.smartMeteringConfigurationMarshallingPayloadMethodProcessor()); defaultMethodEndpointAdapter.setMethodReturnValueHandlers(methodReturnValueHandlers); return defaultMethodEndpointAdapter; }