Interface CustomBean


public interface CustomBean

Represents a custom bean.

Since:
1.1
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called before the custom bean is destroyed.
  • Method Details

    • 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