List of usage examples for org.springframework.integration.config IntegrationConfigUtils FACTORY_BEAN_OBJECT_TYPE
String FACTORY_BEAN_OBJECT_TYPE
To view the source code for org.springframework.integration.config IntegrationConfigUtils FACTORY_BEAN_OBJECT_TYPE.
Click Source Link
From source file:org.springframework.integration.config.xml.GatewayParserTests.java
@Test public void testFactoryBeanObjectTypeWithServiceInterface() throws Exception { ConfigurableListableBeanFactory beanFactory = ((GenericApplicationContext) context).getBeanFactory(); Object attribute = beanFactory.getMergedBeanDefinition("&oneWay") .getAttribute(IntegrationConfigUtils.FACTORY_BEAN_OBJECT_TYPE); assertEquals(TestService.class.getName(), attribute); }
From source file:org.springframework.integration.config.xml.GatewayParserTests.java
@Test public void testFactoryBeanObjectTypeWithNoServiceInterface() throws Exception { ConfigurableListableBeanFactory beanFactory = ((GenericApplicationContext) context).getBeanFactory(); Object attribute = beanFactory.getMergedBeanDefinition("&defaultConfig") .getAttribute(IntegrationConfigUtils.FACTORY_BEAN_OBJECT_TYPE); assertEquals(RequestReplyExchanger.class.getName(), attribute); }