void injectSpringResources(Object handler, FeatureToken featureToken) throws Exception {
        log.trace("Looking for SpringContext annotation on handler " + handler);
        Class<?> handlerClass = handler.getClass();
        Annotation[] annotations = handlerClass.getAnnotations();
        String contextFileName = findSpringContextFileName(handler, annotations);
        if (contextFileName != null) {
            log.debug("Found SpringContext annotation with value " + contextFileName  + " will inject spring context");
            springInjector.injectSpringContext(handler, featureToken, contextFileName);
        }
    }
void injectSpringResources ( Object handler , FeatureToken featureToken ) throws Exception { log . trace ( "Looking for SpringContext annotation on handler " + handler ) ; Class < ? > handlerClass = handler . getClass ( ) ; Annotation [ ] annotations = handlerClass . getAnnotations ( ) ; String contextFileName = findSpringContextFileName ( handler , annotations ) ; if ( contextFileName != null ) { log . debug ( "Found SpringContext annotation with value " + contextFileName + " will inject spring context" ) ; springInjector . injectSpringContext ( handler , featureToken , contextFileName ) ; } }
Will load a Spring context from the named @ContextConfiguration resource. Will then inject the beans
into fields annotated with @Resource where the name of the bean matches the name of the field.

@param handler an instance of the handler class that will be used for testing