- All Implemented Interfaces:
- Serializable
public class VaadinContextualStorage
extends org.apache.deltaspike.core.util.context.ContextualStorage
Customized version of ContextualStorage to also handle beans that are not
PassivationCapable. Such beans are used as their own keys, which is not ideal
but should work in most single-JVM environments.
Note:
Supporting non-PassivationCapable beans is theoretical.
Not required by the spec, but in reality beans are PassivationCapable.
Even for non serializable bean classes.
CDI implementations use PassivationCapable beans,
because injecting non serializable proxies might block serialization of
bean instances in a passivation capable context.
- See Also:
ContextualStorage,
Serialized Form