All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.inftec.ju.ee.cdi.ScopeControl Maven / Gradle / Ivy

There is a newer version: 6.1-S-5
Show newest version
package ch.inftec.ju.ee.cdi;

import java.lang.annotation.RetentionPolicy;

import javax.inject.Qualifier;

/**
 * Helper qualifier that can be used to control scopes explicitly depending on certain conditions.
 * 

* 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. * * @author [email protected] * */ @Qualifier @java.lang.annotation.Retention(RetentionPolicy.RUNTIME) public @interface ScopeControl { }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy