Class EventBeanFactoryBeanWrapped
java.lang.Object
com.espertech.esper.common.internal.event.core.EventBeanFactoryBeanWrapped
- All Implemented Interfaces:
EventBeanFactory
-
Constructor Summary
ConstructorDescriptionEventBeanFactoryBeanWrapped
(EventType beanEventType, EventType wrapperEventType, EventBeanTypedEventFactory eventBeanTypedEventFactory) -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of the underlying class expected for successful wrapping.Wraps the underlying event object.
-
Constructor Details
-
EventBeanFactoryBeanWrapped
public EventBeanFactoryBeanWrapped(EventType beanEventType, EventType wrapperEventType, EventBeanTypedEventFactory eventBeanTypedEventFactory)
-
-
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
-