Home
The Archive
Cancel

[Spring] 1.13.2. PropertySource Abstraction

1.13.2. PropertySource Abstraction Spring’s Environment abstraction provides search operations over a configurable hierarchy of property sources. Consider the following listing: 스프링의 Env...

[Spring] 1.13.1. Bean Definition Profiles

1.13.1. Bean Definition Profiles Bean definition profiles provide a mechanism in the core container that allows for registration of different beans in different environments. The word, “envir...

[Spring] 1.13. Environment Abstraction

1.13. Environment Abstraction The Environment interface is an abstraction integrated in the container that models two key aspects of the application environment: profiles and properties. ...

[Spring] 1.12.5. Composing Java-based Configurations

1.12.5. Composing Java-based Configurations Spring’s Java-based configuration feature lets you compose annotations, which can reduce the complexity of your configuration. 스프링의 Java-based...

[Spring] 1.12.4. Using the @Configuration annotation

1.12.4. Using the @Configuration annotation @Configuration is a class-level annotation indicating that an object is a source of bean definitions. @Configuration classes declare beans through ...

[Spring] 1.12.3. Using the @Bean Annotation

1.12.3. Using the @Bean Annotation @Bean is a method-level annotation and a direct analog of the XML <bean/> element. The annotation supports some of the attributes offered by <bean/...

[Spring] 1.12.2. Instantiating the Spring Container by Using AnnotationConfigApplicationContext

1.12.2. Instantiating the Spring Container by Using AnnotationConfigApplicationContext The following sections document Spring’s AnnotationConfigApplicationContext, introduced in Spring 3.0. T...

[Spring] 1.12.1. Basic Concepts: @Bean and @Configuration

1.12.1. Basic Concepts: @Bean and @Configuration The central artifacts in Spring’s new Java-configuration support are @Configuration-annotated classes and @Bean-annotated methods. Spring...

[Spring] 1.12. Java-based Container Configuration

1.12. Java-based Container Configuration This section covers how to use annotations in your Java code to configure the Spring container. It includes the following topics: 이 절에서는 Java 코드의...

[Spring] 1.10.2. Using Meta-annotations and Composed Annotations

1.10.2. Using Meta-annotations and Composed Annotations Many of the annotations provided by Spring can be used as meta-annotations in your own code. A meta-annotation is an annotation that ca...