Examples of ImportDefinition


Examples of org.springframework.beans.factory.parsing.ImportDefinition

  }

  public void testImportEventReceived() throws Exception {
    List imports = this.eventListener.getImports();
    assertEquals(1, imports.size());
    ImportDefinition importDefinition = (ImportDefinition) imports.get(0);
    assertEquals("beanEventsImported.xml", importDefinition.getImportedResource());
    assertTrue(importDefinition.getSource() instanceof Element);
  }
View Full Code Here

Examples of org.springframework.beans.factory.parsing.ImportDefinition

  }

  public void testImportEventReceived() throws Exception {
    List imports = this.eventListener.getImports();
    assertEquals(1, imports.size());
    ImportDefinition importDefinition = (ImportDefinition) imports.get(0);
    assertEquals("beanEventsImported.xml", importDefinition.getImportedResource());
    assertTrue(importDefinition.getSource() instanceof Element);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.