Package org.infinispan.cdi.common.util
Class Synthetic.Provider
- java.lang.Object
-
- org.infinispan.cdi.common.util.Synthetic.Provider
-
- Enclosing class:
- Synthetic
public static class Synthetic.Provider extends Object
Provides a unique Synthetic qualifier for the specified namespace
Synthetic.Provideris thread safe.- Author:
- Pete Muir
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Syntheticget()Get a synthetic qualifier.Syntheticget(Object object)Get a synthetic qualifier.
-
-
-
Constructor Detail
-
Provider
public Provider(String namespace)
-
-
Method Detail
-
get
public Synthetic get(Object object)
Get a synthetic qualifier. The provided annotation is used to map the generated qualifier, allowing later retrieval.- Parameters:
annotation-- Returns:
-
get
public Synthetic get()
Get a synthetic qualifier. The qualifier will not be stored for later retrieval.- Returns:
-
clear
public void clear()
-
-