Interface CustomBean


  • public interface CustomBean

    Represents a custom bean.

    Since:
    1.1
    • Method Detail

      • preDestroy

        default void preDestroy()
        Called before the custom bean is destroyed. Can be used as an equivalent to the PreDestroy annotation on ManagedBeans. E.g. if the custom bean is used in a view scoped context it is destroyed when the view scoped managed bean it is used in is destroyed.
        Since:
        1.1