Package org.opentcs.customizations
Annotation Type ApplicationHome
@Qualifier
@Target({FIELD,PARAMETER,METHOD})
@Retention(RUNTIME)
public @interface ApplicationHome
A binding annotation that can be used to have the application's home directory injected.
In classes participating in dependency injection, annotate an injected
java.io.File
with this annotation to get a reference to the application's home directory.
Example:
public MyClass(@ApplicationHome File applicationHome) { ... }