javaconfig « Development « Spring Q&A





1. spring 3.0.5-RELEASE and javaconfig    stackoverflow.com

what is the correct maven dependency for spring 3.0.5-RELEASE and the javaconfig features (@Configuration, @Bean, etc.)? I tried this: http://mvnrepository.com/artifact/org.springframework.javaconfig/spring-javaconfig But I got the error described here: http://forum.springsource.org/showthread.php?t=74730 That thread ...

2. javaconfig + beanClass in BeanDefinition    forum.springsource.org

I am using java config to configure spring beans. I noticed that all beans created with @Bean annotation have their beanClass field set to null in BeanDefinition. I looked at the ...

3. JavaConfig and Singleton Constructor injection    forum.springsource.org

I am hoping to use JavaConfig. How does one handle singletons with JavaConfig? @Configuration public class Config { @Bean public A createA() { return new A(); } @Bean public B createB() ...

4. Dynamic JavaConfig    forum.springsource.org

Dynamic JavaConfig Is there a way to 'contribute' configuration to a @Configuration class? Basically I have a bunch of modules that each require some spring configuration and a bunch of projects ...

5. Spring IDE and JavaConfig Problem    forum.springsource.org

Spring IDE and JavaConfig Problem Hello, I'm using Spring Framework 2.5 RC1, Spring JavaConfig 1.0 M2 and Spring IDE 2.0.1 with JavaConfig Extention. I have the following problem ("No setters found ...

6. JavaConfig & Junit    forum.springsource.org

Hi, I'm trying out the javaconfig support (have to say i agree with crazy bob when he talks about type-safe config :$), but running junit tests that extend AbstractDependencyInjectionSpringContextTests are failing. ...

7. Problem with Spring javaConfig    forum.springsource.org

Problem with Spring javaConfig Hi, I have some problems with spring javaconfig and i don't understand why this error happens. I try to explain: The error is: Code: 2008-03-26 09:10:15,504 main ...

8. Spring JavaConfig 1.0 release?    forum.springsource.org

Hi. we are starting to use javaconfig heavily (and like it!) and i wanted to know what the roadmap looks like and when a 1.0 release will happen? Thanks, Trevor

9. JavaConfig support    forum.springsource.org

JavaConfig support I tried using the new Spring Java Configuration library to create a few beans. My project works (I am able to access and instantiate beans defined in the class ...





10. Circular dependencies in Javaconfig    forum.springsource.org

Circular dependencies in Javaconfig Hi, I a new to Javaconfig (but not to Spring), and I encounter issues with circular dependencies. Here is my problem: I have two classes A and ...

11. Component scanning and JavaConfig    forum.springsource.org

Is there a way to configure component scanning from a JavaConfig Configuration ? I know I can do it with xml and use an hybrid configuration with xml & Javaconfig. However, ...

12. JavaConfig and singletons    forum.springsource.org

Hi, I hope this is the right place for the new JavaConfig related issues. Its documentation is not specific enough about the replacement of the XML "ref" attribute. e.g. Code: (at)Configuration ...

13. Upgrading to JavaConfig M4-SNAPSHOT    forum.springsource.org

Upgrading to JavaConfig M4-SNAPSHOT Hi, Chris! I took the latest M4-SNAPSHOT (61) and tried to upgrade. First of all, thanks to all the validations I cleared out a lot of misconfigurations. ...

14. HTTPInvoker and JavaConfig    forum.springsource.org

Hello, I need some help using the proxy factory in the code below. When I use getBean() for the remoteService in the application code, it properly returns the service proxy object. ...

15. @PostConstruct and @PreDestroy in JavaConfig    forum.springsource.org

@PostConstruct and @PreDestroy in JavaConfig Hi, Chris! I have a probem and idea for its solution, but wanted to consult with you about it before posting it in Jira. The problem ...

16. integraion with JavaConfig    forum.springsource.org

Hi, I'm new to spring, spring-config and spring-dm, so please forgive me if this is a trivial question. How do I integrate JavaConfig to run inside spring-dm (1.2.0Mx)? Do I need ...





17. Spring 3.0M2 + Javaconfig 1.0.0M4 ASM problems    forum.springsource.org

Spring 3.0M2 + Javaconfig 1.0.0M4 ASM problems Been playing around with Spring 3.0 for the REST stuff, and decided to take Javaconfig for a spin too. Looks like I'm running into ...

18. Spring 3.0 M3 + Spring DM = broken javaconfig?    forum.springsource.org

Spring 3.0 M3 + Spring DM = broken javaconfig? Hello- We are experiencing what seems to be badly broken application context behavior in our application. Specifically, we are using the most ...

19. JavaConfig Visualization    forum.springsource.org

There are no current plans to support this, but I would recommend that you raise an enhancement request on our issue tracker: http://issuetracker.springsource.com/browse/STS It is unlikely that a new feature will ...

20. javaConfig and namespace configuration    forum.springsource.org

After you have posted to the forum you find the solution... Well, obviously I didn't read the manual carefully enough. The default bean name is not - as I expected - ...

21. Use of Spring XML namespace with JavaConfig    forum.springsource.org

Hi all, Is it possible to use Spring XML namespaces with JavaConfig right now? Something like this (spring security namespace) would be really cool to do: Code: @Configuration public class SecurityConfig ...