-
How to use more compact XML configuration syntax with
p
andc
namespaces. -
How to implement your own bean lifecycle behaviours with annotation configuration utilizing
@PostConstruct
,@PreDestroy
. -
How to modify Spring bean definition at runtime with
BeanFactoryPostProcessor
such asPropertySourcesPlaceholderConfigurer
via<context:property-placeholder />
. -
How to apply custom custom configuration behaviours to Spring beans with
@Required
utilizing aBeanPostProcessor
such asRequiredAnnotationBeanPostProcessor
.
-
Enhance
JdbcMerchantRepository
with lifecycle behaviours. -
Use
JdbcMerchantRepositoryTest
unit test to verify proper implementation. -
Correct
datasource-testcontext.xml
to make thePaybackBookKeeperModuleTest
pass. -
Configure a resolver in
datasource-testcontext.xml
that will replace placeholders in bean definitions with defined properties values. -
See how to use
@Required
by following instructions isapplication-context.xml
.