Class EventBeanFactoryJson
java.lang.Object
com.espertech.esper.common.internal.event.core.EventBeanFactoryJson
- All Implemented Interfaces:
EventBeanFactory
-
Constructor Summary
ConstructorDescriptionEventBeanFactoryJson
(JsonEventType type, EventBeanTypedEventFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of the underlying class expected for successful wrapping.Wraps the underlying event object.
-
Constructor Details
-
EventBeanFactoryJson
-
-
Method Details
-
wrap
Description copied from interface:EventBeanFactory
Wraps the underlying event object.- Specified by:
wrap
in interfaceEventBeanFactory
- Parameters:
underlying
- event to wrap- Returns:
- event bean
-
getUnderlyingType
Description copied from interface:EventBeanFactory
Returns the type of the underlying class expected for successful wrapping.- Specified by:
getUnderlyingType
in interfaceEventBeanFactory
- Returns:
- underlying type expected
-