剑 毅 阁[EVOLUTION]

spring ioc container section index draft

9/14/2007 10:51:06 AM
spring ioc container

    BeanFactory Section
         beans and bean
              relationship
              basic configuration element
                   id
                   class
              <tip>BeanDefinition inheritance</tip>

         setter and constructor injection how to in spring
              constructor injection configuration
                    arguments index
              setter injection configuration
              inner elements
                  value
                  ref
                     <ref bean|local|parent|=""/> (put to a <tip>)
                 (inner)bean
              collections
                    list
                    map
                    set
                    props
               null

         singleton vs prototype
              old spring1.x attribute
              spring2 's scope attribute (need document refer to)

         a life of a bean in spring ioc container
             overview
             lifecycle configuration and lifecycle interface
                  BeanNameAware, ApplicationContextAware
                  BeanPostProcessor(BeanNameAware和ApplicationContextAware就是通过相应的BeanPOstProcessor加载的,ApplicationContextAwarePostProcessor)
                         marker interface process or proxy creation
                 init-method attribute and InitializingBean interface
                 destroy-method attr and DisposableBean

          Hook into container startup(BeanFactoryPostProcessor)
                simple intro the phase container startup
                available BeanFactoryPostProcessor
                     PropertyOverrideConfigurer
                     PropertyPlaceholderConfigurer
                     CustomEditorConfigurer

          factory pattern integration configuration
                static factory method
                instance factory method
                FactoryBean
                      intro
                      available factoryBeans

           Method Injection

           Method replacement
           AutoWire
           Validation
  
      ApplicationContext Section
            overview
            I18N support
            Container inner event publishing support
            Consistency Resource loading strategy
            multi-config files load with ease
                  ( beanfactory can implement this function in programming way)
 
conclusion end. 

Comments