Additional Capabilities of the ApplicationContext 6.15.1. Placeholder resolution in statements 6.14. XML bean definition profiles Activating a profile Default profile 6.13.3. Composing Java-based configurations Using the annotation Conditionally include classes or methods Combining Java and XML configuration 6.13. Using the annotation Injecting inter-bean dependencies Lookup method injection Further information about how Java-based configuration works internally 6.12.5. Using the annotation Declaring a bean Bean dependencies Receiving lifecycle callbacks Specifying bean scope Customizing bean naming Bean aliasing Bean description 6.12.4. Instantiating the Spring container using AnnotationConfigApplicationContext Simple construction Building the container programmatically using register(Class…) Enabling component scanning with scan(String…) Support for web applications with AnnotationConfigWebApplicationContext 6.12.3. Java-based container configuration 6.12.1. Limitations of the standard approach 6.12. a standard equivalent to the annotation 6.11.3. Using JSR 330 Standard Annotations 6.11.1. Providing qualifier metadata with annotations 6.11. Providing a scope for autodetected components 6.10.8. Defining bean metadata within components 6.10.6. Using filters to customize scanning 6.10.5. Automatically detecting classes and registering bean definitions 6.10.4. and further stereotype annotations 6.10.2. Classpath scanning and managed components 6.10.1. Using generics as autowiring qualifiers 6.9.6. Fine-tuning annotation-based autowiring with qualifiers 6.9.5. Fine-tuning annotation-based autowiring with 6.9.4. Annotation-based container configuration 6.9.1. Customizing instantiation logic with a FactoryBean 6.9. Customizing configuration metadata with a BeanFactoryPostProcessor Example: the Class name substitution PropertyPlaceholderConfigurer Example: the PropertyOverrideConfigurer 6.8.3. Customizing beans using a BeanPostProcessor Example: Hello World, BeanPostProcessor-style Example: The RequiredAnnotationBeanPostProcessor 6.8.2. ApplicationContextAware and BeanNameAware 6.6.3. Lifecycle callbacks Initialization callbacks Destruction callbacks Default initialization and destroy methods Combining lifecycle mechanisms Startup and shutdown callbacks Shutting down the Spring IoC container gracefully in non-web applications 6.6.2. Custom scopes Creating a custom scope Using a custom scope 6.6. Request, session, and global session scopes Initial web configuration Request scope Session scope Global session scope Application scope Scoped beans as dependencies 6.5.5. Singleton beans with prototype-bean dependencies 6.5.4. Method injection Lookup method injection Arbitrary method replacement 6.5. Autowiring collaborators Limitations and disadvantages of autowiring Excluding a bean from autowiring 6.4.6. Dependencies and configuration in detail Straight values (primitives, Strings, and so on) References to other beans (collaborators) Inner beans Collections Null and empty string values XML shortcut with the p-namespace XML shortcut with the c-namespace Compound property names 6.4.3. Dependency Injection Constructor-based dependency injection Setter-based dependency injection Dependency resolution process Examples of dependency injection 6.4.2. Instantiating beans Instantiation with a constructor Instantiation with a static factory method Instantiation using an instance factory method 6.4. Naming beans Aliasing a bean outside the bean definition 6.3.2. Instantiating a container Composing XML-based configuration metadata 6.2.3. Introduction to the Spring IoC container and beans 6.2. New Features and Enhancements in Spring Framework 4.2 5.1. New Features and Enhancements in Spring Framework 4.1 4.1. WebSocket, SockJS, and STOMP Messaging 3.9. Removed Deprecated Packages and Methods 3.3. New Features and Enhancements in Spring Framework 4.0 3.1. Logging Not Using Commons Logging Using SLF4J Using Log4J II. Dependency Management and Naming Conventions Spring Dependencies and Depending on Spring Maven Dependency Management Maven "Bill Of Materials" Dependency Gradle Dependency Management Ivy Dependency Management Distribution Zip Files 2.3.2. Dependency Injection and Inversion of Control 2.2. Introduction to the Spring Framework 2.1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |