Class KeyPattern<T>

java.lang.Object
io.activej.inject.KeyPattern<T>
Direct Known Subclasses:
KeyPattern.KeyPatternImpl

public abstract class KeyPattern<T> extends Object
A pattern to match a dependency injection Key

A Key is matched if a key's type is assignable to this pattern's type and this pattern's qualifier is null or matches a Key.getQualifier() key's qualifier

  • Constructor Details

    • KeyPattern

      protected KeyPattern()
    • KeyPattern

      protected KeyPattern(Object qualifier)
    • KeyPattern

      protected KeyPattern(Predicate<?> qualifier)
  • Method Details