Interface CreatedBean<T>

Type Parameters:
T - The bean type
All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
BeanRegistration

public interface CreatedBean<T> extends Closeable, AutoCloseable
Represents a bean that has been created from a BeanCreationContext.
Since:
3.0.0
Author:
graemerocher
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Destroy the bean entry, performing any shutdown and releasing any dependent objects.
     
    id()
    Returns an ID that is unique to the bean and can be used to cache the instance if necessary.