public static ITargetInjector with ( final IInjectionStrategy strategy ) { return new ITargetInjector ( ) { public void bean ( Object target ) { strategy . inject ( target ) ; } } ; }
Returns an injector implementation which delegates actual injection to the given strategy when provided with a target to inject .