Package com.caplin.motif.datasource
package com.caplin.motif.datasource
Extensions to the DataSource for Java library.
-
ClassDescription
BuilderMessage
provide additional boolean flags to a field which must be set when setting the field, e.g.Provides a Single-Request, Single-Discard DataSource API for aDataProvider
and simplifies thePublisher
API.CachedDataProvider<T extends SubjectInfo>A DataProvider which receives a singleCachedDataProvider.onRequest(SubjectInfo)
and a singleCachedDataProvider.onDiscard(SubjectInfo)
, even if requests are made from multiple peers.CachedMessageProvider<T extends SubjectInfo>CachedObjectProvider<S,T extends SubjectInfo> ObjectPublisher<S,T extends SubjectInfo> Publishes objects by serialising before sending on the wire.Provides an object representation of a subject request.SubjectMessagePublisher<T extends SubjectInfo>SubjectParser<T extends SubjectInfo>A SubjectParser validates and parses subject requests into Domain objects; these objects provide methods which return the information contained in the request.An exception that is thrown when a SubjectParser encounters a format issue with a subject.Util to retrieve values from a given subject defined by the namespace and tokens that the namespace.