| 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 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
|
| 18 | |
@Retention(RetentionPolicy.RUNTIME) |
| 19 | |
@Target(ElementType.TYPE) |
| 20 | |
@Inherited |
| 21 | |
public @interface UsingNeedle { |
| 22 | |
|
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
Class<? extends InjectionProviderInstancesSupplier>[] supplier() default {}; |
| 29 | |
|
| 30 | |
|
| 31 | |
|
| 32 | |
|
| 33 | |
|
| 34 | |
|
| 35 | |
Class<? extends InjectionProvider<?>>[] provider() default {}; |
| 36 | |
|
| 37 | |
} |