@Target(value={TYPE,METHOD,FIELD,PARAMETER}) @Qualifier @Retention(value=RUNTIME) public @interface DynamicCdiTag
Can be used to determine implementations at runtime based on the server configuration and the tag name.
We could also have used the @Named annotation, but then we would have to declare it on the default instance as well.
Note that in order to be found, any implementation tagged with DynamicCdiTag needs to implement
the tag interface DynamicCdi as well.
public abstract String value
Copyright © 2014. All rights reserved.