com.espertech.esper.plugin
Class PlugInEventRepresentationContext

java.lang.Object
  extended by com.espertech.esper.plugin.PlugInEventRepresentationContext

public class PlugInEventRepresentationContext
extends java.lang.Object

Context for use in PlugInEventRepresentation to initialize an implementation.


Constructor Summary
PlugInEventRepresentationContext(EventAdapterService eventAdapterService, java.net.URI eventRepresentationRootURI, java.io.Serializable representationInitializer)
          Ctor.
 
Method Summary
 EventAdapterService getEventAdapterService()
          Returns the service for for creating further event types or wrapping event objects.
 java.net.URI getEventRepresentationRootURI()
          Ctor.
 java.io.Serializable getRepresentationInitializer()
          Returns optional configuration for the event representation, or null if none supplied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlugInEventRepresentationContext

public PlugInEventRepresentationContext(EventAdapterService eventAdapterService,
                                        java.net.URI eventRepresentationRootURI,
                                        java.io.Serializable representationInitializer)
Ctor.

Parameters:
eventAdapterService - for creating further event types or wrapping event objects
eventRepresentationRootURI - URI of the event representation
representationInitializer - initializer objects
Method Detail

getEventRepresentationRootURI

public java.net.URI getEventRepresentationRootURI()
Ctor.

Returns:
URI of event representation instance

getRepresentationInitializer

public java.io.Serializable getRepresentationInitializer()
Returns optional configuration for the event representation, or null if none supplied. An String XML document if the configuration was read from an XML file.

Returns:
configuration, or null if none supplied

getEventAdapterService

public EventAdapterService getEventAdapterService()
Returns the service for for creating further event types or wrapping event objects.

Returns:
event adapter service

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