Package com.caplin.motif.datasource
Class ObjectPublisher<S>
- java.lang.Object
-
- com.caplin.motif.datasource.ObjectPublisher<S>
-
public class ObjectPublisher<S> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ObjectPublisher(@NotNull SubjectMessagePublisher<SubjectInfo> publisher, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
publish(java.lang.String subject, S object)
-
-
-
Constructor Detail
-
ObjectPublisher
public ObjectPublisher(@NotNull @NotNull SubjectMessagePublisher<SubjectInfo> publisher, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
publish
public void publish(java.lang.String subject, S object)
-
-