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.Provider is thread safe.

Author:
Pete Muir
  • Constructor Details

    • Provider

      public Provider(String namespace)
  • Method Details

    • 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()