oracle.dbtools.plugin.api.di

## Class Instances.QualifiedInstance<T>

- java.lang.Object
- - oracle.dbtools.plugin.api.di.Instances.QualifiedInstance<T>

- Type Parameters:
    `T` - The type of the service
  All Implemented Interfaces:
    Supplier<T>, javax.inject.Provider<T>
  Enclosing class:
    Instances

      public static class Instances.QualifiedInstance<T>
      extends Object
      implements javax.inject.Provider<T>, Supplier<T>

  Represents an individual instance of a qualified service
  Author:
    cdivilly

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `get()`
    `TypeQualifier<T>` | `qualifier()` The service qualifier
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### get

          public T get()

      Specified by:
        `get` in interface `Supplier<T>`
      Specified by:
        `get` in interface `javax.inject.Provider<T>`

    - #### qualifier

          public TypeQualifier<T> qualifier()

      The service qualifier
      Returns:
        `TypeQualifier` describing how the service is constrained

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2010, 2022, Oracle and/or its affiliates.