BlackboardEntrySerializer

Extension point for application-specific blackboard persistence.

Implementations can store values as DTOs, encrypted payloads, entity references, or any other representation that can be safely restored later.

Implementations are expected to be stateless and safe for concurrent use. They should serialize value state, not live runtime resources such as Spring beans, open streams, sockets, threads, or ORM sessions.

Inheritors

Functions

Link copied to clipboard
abstract fun deserialize(value: SerializedBlackboardValue, context: BlackboardEntryDeserializationContext = BlackboardEntryDeserializationContext()): Any

Convert a durable payload back into a blackboard value.

Link copied to clipboard
abstract fun serialize(value: Any, context: BlackboardEntrySerializationContext = BlackboardEntrySerializationContext()): SerializedBlackboardValue

Convert a live blackboard value into a durable payload.

Link copied to clipboard

Return true when this serializer should restore the serialized blackboard value.

Link copied to clipboard
abstract fun supportsSerialization(value: Any): Boolean

Return true when this serializer should handle the given live blackboard value.