org.springframework.beans.factory.config.FieldRetrievingFactoryBean Java Examples
The following examples show how to use
org.springframework.beans.factory.config.FieldRetrievingFactoryBean.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: UtilNamespaceHandlerTests.java From spring-analysis-note with MIT License | 5 votes |
@Test public void testEvents() { ComponentDefinition propertiesComponent = this.listener.getComponentDefinition("myProperties"); assertNotNull("Event for 'myProperties' not sent", propertiesComponent); AbstractBeanDefinition propertiesBean = (AbstractBeanDefinition) propertiesComponent.getBeanDefinitions()[0]; assertEquals("Incorrect BeanDefinition", PropertiesFactoryBean.class, propertiesBean.getBeanClass()); ComponentDefinition constantComponent = this.listener.getComponentDefinition("min"); assertNotNull("Event for 'min' not sent", propertiesComponent); AbstractBeanDefinition constantBean = (AbstractBeanDefinition) constantComponent.getBeanDefinitions()[0]; assertEquals("Incorrect BeanDefinition", FieldRetrievingFactoryBean.class, constantBean.getBeanClass()); }
Example #2
Source File: UtilNamespaceHandlerTests.java From java-technology-stack with MIT License | 5 votes |
@Test public void testEvents() { ComponentDefinition propertiesComponent = this.listener.getComponentDefinition("myProperties"); assertNotNull("Event for 'myProperties' not sent", propertiesComponent); AbstractBeanDefinition propertiesBean = (AbstractBeanDefinition) propertiesComponent.getBeanDefinitions()[0]; assertEquals("Incorrect BeanDefinition", PropertiesFactoryBean.class, propertiesBean.getBeanClass()); ComponentDefinition constantComponent = this.listener.getComponentDefinition("min"); assertNotNull("Event for 'min' not sent", propertiesComponent); AbstractBeanDefinition constantBean = (AbstractBeanDefinition) constantComponent.getBeanDefinitions()[0]; assertEquals("Incorrect BeanDefinition", FieldRetrievingFactoryBean.class, constantBean.getBeanClass()); }
Example #3
Source File: UtilNamespaceHandlerTests.java From spring4-understanding with Apache License 2.0 | 5 votes |
@Test public void testEvents() { ComponentDefinition propertiesComponent = this.listener.getComponentDefinition("myProperties"); assertNotNull("Event for 'myProperties' not sent", propertiesComponent); AbstractBeanDefinition propertiesBean = (AbstractBeanDefinition) propertiesComponent.getBeanDefinitions()[0]; assertEquals("Incorrect BeanDefinition", PropertiesFactoryBean.class, propertiesBean.getBeanClass()); ComponentDefinition constantComponent = this.listener.getComponentDefinition("min"); assertNotNull("Event for 'min' not sent", propertiesComponent); AbstractBeanDefinition constantBean = (AbstractBeanDefinition) constantComponent.getBeanDefinitions()[0]; assertEquals("Incorrect BeanDefinition", FieldRetrievingFactoryBean.class, constantBean.getBeanClass()); }
Example #4
Source File: UtilNamespaceHandler.java From spring-analysis-note with MIT License | 4 votes |
@Override protected Class<?> getBeanClass(Element element) { return FieldRetrievingFactoryBean.class; }
Example #5
Source File: UtilNamespaceHandler.java From java-technology-stack with MIT License | 4 votes |
@Override protected Class<?> getBeanClass(Element element) { return FieldRetrievingFactoryBean.class; }
Example #6
Source File: UtilNamespaceHandler.java From lams with GNU General Public License v2.0 | 4 votes |
@Override protected Class<?> getBeanClass(Element element) { return FieldRetrievingFactoryBean.class; }
Example #7
Source File: UtilNamespaceHandler.java From blog_demos with Apache License 2.0 | 4 votes |
@Override protected Class<?> getBeanClass(Element element) { return FieldRetrievingFactoryBean.class; }
Example #8
Source File: UtilNamespaceHandler.java From spring4-understanding with Apache License 2.0 | 4 votes |
@Override protected Class<?> getBeanClass(Element element) { return FieldRetrievingFactoryBean.class; }