Interface Instance.Handle<T>

  • Type Parameters:
    T - the required bean type
    All Superinterfaces:
    AutoCloseable
    Enclosing interface:
    Instance<T>

    public static interface Instance.Handle<T>
    extends AutoCloseable
    This interface represents a contextual reference handle.

    Allows to inspect the metadata of the relevant bean before resolving its contextual reference and also to destroy the underlying contextual instance.

    Author:
    Matej Novotny