Interface Destruction

All Superinterfaces:
AutoCloseable, ReferencesSelector

public interface Destruction extends AutoCloseable, ReferencesSelector
An object describing the imminent destruction of a contextual instance by the Factory.destroy(Object, Destruction) method.

Any Destruction implementation must also be a Creation implementation, or undefined behavior and errors may occur.

Author:
Laird Nelson
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Closes this Destruction idempotently, normally thereby releasing a contextual instance's dependent objects that have been stored opaquely in this Destruction by some other mechanism at creation time.

    Methods inherited from interface org.microbean.bean.ReferencesSelector

    reference, references