public void processStartOfScope ( Scope scopeStarting , Iterable < Object > handlerInstances ) throws Exception { for ( Object handler : handlerInstances ) { Handler handlerAnnotation = handler . getClass ( ) . getAnnotation ( Handler . class ) ; Scope handlerScope = handlerAnnotation . scope ( ) ; injectResourceFieldsForScope ( scopeStarting , handler , handlerScope , handlerInstances ) ; runLifecycleMethods ( handler , handlerScope , scopeStarting , false ) ; } }
Scope is starting perform the required processing on the supplied handlers .