Annotation Type Packages
-
@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface Packages
The list of packages (in "." format, i.e. "com.acme.test.services") that we should scan through the classpath for in order to find services. This annotation must be placed on a class that extendsHK2Runner
- Author:
- jwells
-
-
Field Summary
Fields Modifier and Type Fields Description static String
THIS_PACKAGE
This special value indicates the same package as the package in which the test itself resides
-
-
-
Field Detail
-
THIS_PACKAGE
static final String THIS_PACKAGE
This special value indicates the same package as the package in which the test itself resides
-
-
Element Detail
-
value
String[] value
Returns the set of packages (with dot separator) that should be scanned for hk2 services. The default value for this is to scan the package in which the test class itself resides- Returns:
- The set of packages to scan for services
- Default:
- {"${THIS}"}
-
-