spring-framework/org.springframework.context
Chris Beams 6f69b7b752 Allow class-relative resource loading in GenericXmlApplicationContext (SPR-7530)
Before:

    - new GenericXmlApplicationContext("com/acme/path/to/resource.xml");

    - GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
      ctx.load("com/acme/path/to/resource.xml");
      ctx.refresh();

After:

    - The above remain supported, as well as new class-relative variants

    - import com.acme.path.to.Foo;
      new GenericXmlApplicationContext(Foo.class, "resource.xml");

    - import com.acme.path.to.Foo;
      GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
      ctx.load(Foo.class, "resource.xml");
      ctx.refresh();

These changes are generally aligned with signatures long available in
ClassPathXmlApplicationContext. As GenericXmlApplicationContext is
intended to be a more flexible successor to CPXAC (and FSXAC), it's
important that all the same conveniences are available.
2010-09-08 15:30:48 +00:00
..
.settings Additional tests rounding out @ImportXml coverage 2009-11-07 03:53:58 +00:00
src Allow class-relative resource loading in GenericXmlApplicationContext (SPR-7530) 2010-09-08 15:30:48 +00:00
.classpath Fix dependency issues in .context pom and .classpath 2010-07-21 12:04:06 +00:00
.project SPR-6158: Initial implementation and tests for @ImportXml 2009-11-07 00:32:40 +00:00
.springBeans attempted to repro SPR-7318 to no avail 2010-06-28 22:57:26 +00:00
build.xml + upgrade to AspectJ 1.6.8 2010-02-04 11:46:21 +00:00
context.iml added "validationMessageSource" property to LocalValidatorFactoryBean, for Spring-based messages (SPR-7307) 2010-06-28 22:08:31 +00:00
ivy.xml Publishing license and notice files 2010-08-23 13:17:31 +00:00
pom.xml Prepping for 3.0.5 2010-08-19 11:04:04 +00:00
template.mf added "validationMessageSource" property to LocalValidatorFactoryBean, for Spring-based messages (SPR-7307) 2010-06-28 22:08:31 +00:00