Interface BeanContainer.Instance<T>

All Superinterfaces:
AutoCloseable
Enclosing interface:
BeanContainer

public static interface BeanContainer.Instance<T> extends AutoCloseable
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    releases the underlying instance
    get()
     
  • Method Details

    • get

      T get()
      Returns:
      the underlying instance
    • close

      default void close()
      releases the underlying instance
      Specified by:
      close in interface AutoCloseable