MessageDispatcher implements WebServiceMessageReceiver, BeanNameAware, ApplicationContextAware { @Override public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { initEndpointAdapters(applicationContext); initEndpointExceptionResolvers(applicationContext); initEndpointMappings(applicationContext); } MessageDispatcher(); List<EndpointAdapter> getEndpointAdapters(); void setEndpointAdapters(List<EndpointAdapter> endpointAdapters); List<EndpointExceptionResolver> getEndpointExceptionResolvers(); void setEndpointExceptionResolvers(List<EndpointExceptionResolver> endpointExceptionResolvers); List<EndpointMapping> getEndpointMappings(); void setEndpointMappings(List<EndpointMapping> endpointMappings); @Override final void setBeanName(String beanName); @Override void setApplicationContext(ApplicationContext applicationContext); @Override void receive(MessageContext messageContext); static final String ENDPOINT_NOT_FOUND_LOG_CATEGORY; static final String MESSAGE_TRACING_LOG_CATEGORY; }
@Test public void testDefaultStrategies() throws Exception { StaticApplicationContext applicationContext = new StaticApplicationContext(); dispatcher.setApplicationContext(applicationContext); }