Search in sources :

Example 11 with ComponentDefinition

use of org.springframework.beans.factory.parsing.ComponentDefinition in project spring-framework by spring-projects.

the class JeeNamespaceHandlerEventTests method testJndiLookupComponentEventReceived.

@Test
public void testJndiLookupComponentEventReceived() {
    ComponentDefinition component = this.eventListener.getComponentDefinition("simple");
    assertTrue(component instanceof BeanComponentDefinition);
}
Also used : BeanComponentDefinition(org.springframework.beans.factory.parsing.BeanComponentDefinition) ComponentDefinition(org.springframework.beans.factory.parsing.ComponentDefinition) BeanComponentDefinition(org.springframework.beans.factory.parsing.BeanComponentDefinition) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)11 ComponentDefinition (org.springframework.beans.factory.parsing.ComponentDefinition)11 BeanComponentDefinition (org.springframework.beans.factory.parsing.BeanComponentDefinition)9 CompositeComponentDefinition (org.springframework.beans.factory.parsing.CompositeComponentDefinition)5 BeanDefinition (org.springframework.beans.factory.config.BeanDefinition)2 HashSet (java.util.HashSet)1 BeanReference (org.springframework.beans.factory.config.BeanReference)1 TypedStringValue (org.springframework.beans.factory.config.TypedStringValue)1 AbstractBeanDefinition (org.springframework.beans.factory.support.AbstractBeanDefinition)1 Element (org.w3c.dom.Element)1