@Qualifier @Retention(value=RUNTIME) public @interface ScopeControl
We can use it with @Named to inject instances of a bean with different scope and use the qualifier to avoid having to use @Named for all injections (even the default one). For an example, see ContainerTestScopeController.
Copyright © 2015. All rights reserved.