com.espertech.esper.client
Interface EventBeanFactory

All Known Implementing Classes:
EventBeanFactoryBean, EventBeanFactoryBeanWrapped, EventBeanFactoryMap, EventBeanFactoryObjectArray, EventBeanFactoryXML

public interface EventBeanFactory

Factory for EventBean instances given an underlying event object.

Not transferable between engine instances.


Method Summary
 java.lang.Class getUnderlyingType()
          Returns the type of the underlying class expected for successful wrapping.
 EventBean wrap(java.lang.Object underlying)
          Wraps the underlying event object.
 

Method Detail

wrap

EventBean wrap(java.lang.Object underlying)
Wraps the underlying event object.

Parameters:
underlying - event to wrap
Returns:
event bean

getUnderlyingType

java.lang.Class getUnderlyingType()
Returns the type of the underlying class expected for successful wrapping.

Returns:
underlying type expected

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com