subclass « Annotation « Spring Q&A





1. Correct usage subclassing a spring ContextLoader for testing    stackoverflow.com

For the integration tests for my spring application with junit I am subclassing org.springframework.test.context.ContextLoader, because I want to use a already present XmlWebApplicationContext for wiring up my test class like this:

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(loader=MyContextLoader.class)
@Transactional
public ...

2. Annotations on target joinpoint not returned on subclasses    forum.springsource.org

Annotations on target joinpoint not returned on subclasses Hi all, I'm having a very strange issue. I've written an aspect that performs validation on our DAO tier for all model objects ...