Wednesday, 6 July 2011

Spring AspectJ load-time weaving

Spring includes an AspectJ aspect, AnnotationBeanConfigurerAspect,
(even if these objects are created outside the IoC container).

1.Enable [context:spring-configured]
2.Enable weave domain classes at load time [context:load-timeweaver>]
3.Enable @Autowired auto-wire JDBC template into domain objects [context:annotation-config]

No comments:

Post a Comment