Coverage Report - org.jbehave.core.annotations.needle.UsingNeedle
 
Classes in this File Line Coverage Branch Coverage Complexity
UsingNeedle
N/A
N/A
0
 
 1  
 package org.jbehave.core.annotations.needle;
 2  
 
 3  
 import java.lang.annotation.ElementType;
 4  
 import java.lang.annotation.Inherited;
 5  
 import java.lang.annotation.Retention;
 6  
 import java.lang.annotation.RetentionPolicy;
 7  
 import java.lang.annotation.Target;
 8  
 
 9  
 import de.akquinet.jbosscc.needle.injection.InjectionProvider;
 10  
 import de.holisticon.toolbox.needle.provider.InjectionProviderInstancesSupplier;
 11  
 
 12  
 /**
 13  
  * Indicates usage of Needle as DI.
 14  
  * 
 15  
  * @author Simon Zambrovski (simon.zambrovski@holisticon.de)
 16  
  * @author Jan Galinski (jan.galinski@holisticon.de)
 17  
  */
 18  
 @Retention(RetentionPolicy.RUNTIME)
 19  
 @Target(ElementType.TYPE)
 20  
 @Inherited
 21  
 public @interface UsingNeedle {
 22  
 
 23  
         /**
 24  
          * Injection provider supplier.
 25  
          * 
 26  
          * @return list of suppliers.
 27  
          */
 28  
         Class<? extends InjectionProviderInstancesSupplier>[] supplier() default {};
 29  
 
 30  
         /**
 31  
          * Injection providers.
 32  
          * 
 33  
          * @return list of providers.
 34  
          */
 35  
         Class<? extends InjectionProvider<?>>[] provider() default {};
 36  
 
 37  
 }