Module jakarta.cdi

Interface PassivationCapable


  • public interface PassivationCapable
    Indicates that a custom implementation of Bean or Contextual is passivation capable.

    CDI Lite implementations are not required to provide support for passivation.

    Author:
    Gavin King, David Allen
    • Method Detail

      • getId

        java.lang.String getId()
        A string that uniquely identifies the instance of Bean or Contextual. It is recommended that the string contain the package name of the class that implements Bean or Contextual.
        Returns:
        a unique identifier for the Bean or Contextual