Class RawJsonEventReader
- java.lang.Object
-
- org.kie.server.services.jbpm.kafka.RawJsonEventReader
-
- All Implemented Interfaces:
KafkaEventReader
public class RawJsonEventReader extends Object implements KafkaEventReader
-
-
Constructor Summary
Constructors Constructor Description RawJsonEventReader(ClassLoader cl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TreadEvent(byte[] value, Class<T> valueType)Converts a byte[] to an object
-
-
-
Constructor Detail
-
RawJsonEventReader
public RawJsonEventReader(ClassLoader cl)
-
-
Method Detail
-
readEvent
public <T> T readEvent(byte[] value, Class<T> valueType)Description copied from interface:KafkaEventReaderConverts a byte[] to an object- Specified by:
readEventin interfaceKafkaEventReader- Type Parameters:
T- object type- Parameters:
value- byte[] to be converted to objectvalueType- the class of the result object- Returns:
- object of specified type
-
-