Package jakarta.enterprise.inject.spi
Interface PassivationCapable
public interface PassivationCapable
Indicates that a custom implementation of
Bean or
Contextual is passivation capable.-
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
-