Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Java Config Support for Repository Configuration?

  1. #11
    Join Date
    Jan 2011
    Location
    Dresden, Germany
    Posts
    525

    Default

    Oliver Gierke and I also discussed adding support for @Configuration based repository factories but this means that we have to do some larger changes to the build as we want the spring data projects not to depend on Spring 3.1. but rather be usable with 3.0 too. So that will be about adding 3.1. support classes and building + testing everything against 3.1. and then against 3.0.5 and packaging and deploying with 3.0 dependencies.

    It might take a while for that to get done though (we're also looking into converting the maven builds into gradle builds anyway).

    Cheers

    Michael

  2. #12
    Join Date
    Jul 2010
    Posts
    139

    Default

    BTW for anyone who may be interested in this, I was able to register a BeanPostProcessor that is BeanFactoryAware in the application context; and this allowed me to auto detect all repositories (through ClassPathScanning) and register them in the ApplicationContext. This is all without any XML. This will work for the short term until DATACMNS-47 is resolved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •