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.
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
A string that uniquely identifies the instance ofBean
orContextual
.
-
Method Details
-
getId
String getId()A string that uniquely identifies the instance ofBean
orContextual
. It is recommended that the string contain the package name of the class that implementsBean
orContextual
.- Returns:
- a unique identifier for the
Bean
orContextual
-