Top "Spring-java-config" questions

The Spring Framework is an open source framework for application development on the Java platform.

how to select which spring batch job to run based on application argument - spring boot java config

I have two independent spring batch jobs in the same project because I want to use the same infrastructure-related beans. …

spring spring-batch spring-boot spring-java-config
how do I set X-Frame-Options response header to allow-from value(s) using spring java config?

How do I set X-Frame-Options response header with a value of allow-from using spring java config? http.headers().disable() .addHeaderWriter(…

spring-security http-headers spring-java-config x-frame-options
Spring-Boot + Spring-MVC + Thymeleaf + Apache Tiles

I have an already existing client module with apache tiles and thymeleaf, what works well. I wanted to convert it …

spring-mvc spring-boot thymeleaf spring-java-config apache-tiles
Spring LDAP using Java Configuration

I was following the samples of Spring LDAP project and was trying to convert xml configuration to Java Configuration. I …

java spring spring-boot spring-java-config spring-ldap
Spring Java Config: Tomcat deploy without web.xml

I built a java configured Spring MVC application without any XML. I can deploy and start the application on my …

spring maven tomcat maven-tomcat-plugin spring-java-config
Spring placeholder doesn't resolve properties in JavaConfig

Currently i have a Spring xml configuration (Spring 4) which load a properties file. context.properties my.app.service = myService my.…

java spring properties-file spring-java-config
Spring Security OAuth2 with custom TokenGranter in version 2.0.+

In previous versions of OAuth2 it was possible to add a custom token granter by adding it to the xml …

java spring spring-java-config spring-security-oauth2
Skippable exception classes for Spring Batch with java based configuration

I configure a step in XML like this: <batch:step id="slaveStep"> <batch:tasklet> <batch:…

java spring spring-batch spring-java-config
Spring async doesn't work when implements AsyncConfigurer

Having a Spring configuration class for async methods as: @Configuration @EnableAsync(proxyTargetClass = true) @EnableScheduling public class AsyncConfiguration { @Autowired private ApplicationContext …

spring asynchronous spring-java-config cglib spring-async