Package jakarta.enterprise.inject.spi
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 Summary
Modifier and TypeMethodDescriptiongetId()A string that uniquely identifies the instance ofBeanorContextual.
-
Method Details
-
getId
String getId()A string that uniquely identifies the instance ofBeanorContextual. It is recommended that the string contain the package name of the class that implementsBeanorContextual.- Returns:
- a unique identifier for the
BeanorContextual
-