tianlanf/springAnnotationConfiguration
Public repository.
Discovered public repositories for tianlanf in the GitHub catalog.
Public repository.
This is to illustrate autowire by name and by autowire by type, the autowire atribute is required and no implicit ref or value of property is required. but setter still there
This is about auto component scan and illustrate the relation ship between annotations like @Component @Repository @Service @Controller
This is about the spring EL based on annotation. Annotations involved are @component and @value
This is to illustrate how to use spring EL to refer to other bean or their properties through xml. More elaborations on doing this by annotation will be illustrated on the next repository
This is to introduce two annotations, @PostConstruct and @PreDestroy. These annotations will be enabled through CommonAnnotationBeanPostProcessor bean or the context:annotation-config
This is about the init-method and destroy-method
Two new concepts on InitializingBean and DisposableBean which will call afterPropertiesSet() method and destroy() method, which will be called when the container is closed. Not recommended because it is tightly coupled with the spring implementation
define a @Required-style annotation by yourself and enable it in xml file, this make the check of property setting in the container, and developers no longer to write code to check whether all properties are set. Furthermore, it didn't check whether a property is set to be null
Public repository.
Public repository.
Public repository.
Public repository.
Public repository.
Public repository.
Public repository.
Public repository.
Public repository.
Public repository.
Public repository.
TWU coach homework
a git example
Examples using the Spring Batch project from SpringSource
java mail tutorial
to remember my study of java