com.espertech.esperio.representation.axiom
Class AxionEventBeanFactory

java.lang.Object
  extended by com.espertech.esperio.representation.axiom.AxionEventBeanFactory
All Implemented Interfaces:
com.espertech.esper.plugin.PlugInEventBeanFactory

public class AxionEventBeanFactory
extends java.lang.Object
implements com.espertech.esper.plugin.PlugInEventBeanFactory

A event bean factory implementation that understands Apache Axiom OMNode events and that can look up the root element name to determine the right event type.

See AxiomEventRepresentation for more details.


Constructor Summary
AxionEventBeanFactory(java.util.Map<java.lang.String,AxiomXMLEventType> types)
          Ctor.
 
Method Summary
 com.espertech.esper.client.EventBean create(java.lang.Object theEvent, java.net.URI resolutionURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxionEventBeanFactory

public AxionEventBeanFactory(java.util.Map<java.lang.String,AxiomXMLEventType> types)
Ctor.

Parameters:
types - the currently known event type name and their types
Method Detail

create

public com.espertech.esper.client.EventBean create(java.lang.Object theEvent,
                                                   java.net.URI resolutionURI)
Specified by:
create in interface com.espertech.esper.plugin.PlugInEventBeanFactory

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