Java 类org.springframework.beans.factory.config.FieldRetrievingFactoryBean 实例源码

项目:spring4-understanding    文件:UtilNamespaceHandlerTests.java   
@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());
}
项目:class-guard    文件:UtilNamespaceHandlerTests.java   
public void testEvents() throws Exception {
    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());
}
项目:lams    文件:UtilNamespaceHandler.java   
@Override
protected Class<?> getBeanClass(Element element) {
    return FieldRetrievingFactoryBean.class;
}
项目:spring4-understanding    文件:UtilNamespaceHandler.java   
@Override
protected Class<?> getBeanClass(Element element) {
    return FieldRetrievingFactoryBean.class;
}
项目:spring    文件:UtilNamespaceHandler.java   
@Override
protected Class<?> getBeanClass(Element element) {
    return FieldRetrievingFactoryBean.class;
}
项目:class-guard    文件:UtilNamespaceHandler.java   
@Override
protected Class getBeanClass(Element element) {
    return FieldRetrievingFactoryBean.class;
}
项目:opennmszh    文件:DefaultRegistryDefinitionParser.java   
/** {@inheritDoc} */
@Override
protected Class<?> getBeanClass(Element element) {
    return FieldRetrievingFactoryBean.class;
}
项目:OpenNMS    文件:DefaultRegistryDefinitionParser.java   
/** {@inheritDoc} */
@Override
protected Class<?> getBeanClass(Element element) {
    return FieldRetrievingFactoryBean.class;
}