Interface CustomBean
-
public interface CustomBean
Represents a custom bean.
- Since:
- 1.1
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
preDestroy()
Called before the custom bean is destroyed.
-
-
-
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
-
-