Class ScopedKey

java.lang.Object
io.activej.inject.util.ScopedKey

public final class ScopedKey extends Object
This is a simple generic POJO (or POGJO) for a Key with associated scope path.
  • Method Details

    • of

      public static ScopedKey of(Key<?> key)
    • of

      public static ScopedKey of(Scope scope, Key<?> key)
    • of

      public static ScopedKey of(Scope[] scope, Key<?> key)
    • getScope

      public Scope[] getScope()
    • getKey

      public Key<?> getKey()
    • isScoped

      public boolean isScoped()
    • isUnscoped

      public boolean isUnscoped()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object