com.espertech.esper.plugin
Class PlugInEventTypeHandlerContext

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

public class PlugInEventTypeHandlerContext
extends java.lang.Object

Context for use in PlugInEventRepresentation to provide information to help decide whether an event representation can handle the requested event type.


Constructor Summary
PlugInEventTypeHandlerContext(java.net.URI eventTypeResolutionURI, java.io.Serializable typeInitializer, java.lang.String eventTypeName, int eventTypeId)
          Ctor.
 
Method Summary
 int getEventTypeId()
          Returns the event type id.
 java.lang.String getEventTypeName()
          Returns the name assigned to the event type.
 java.net.URI getEventTypeResolutionURI()
          Returns the URI specified for resolving the event type, may be a child URI of the event representation URI and may carry additional parameters
 java.io.Serializable getTypeInitializer()
          Returns optional configuration for the type, 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

PlugInEventTypeHandlerContext

public PlugInEventTypeHandlerContext(java.net.URI eventTypeResolutionURI,
                                     java.io.Serializable typeInitializer,
                                     java.lang.String eventTypeName,
                                     int eventTypeId)
Ctor.

Parameters:
eventTypeResolutionURI - the URI specified for resolving the event type, may be a child URI of the event representation URI and may carry additional parameters
typeInitializer - optional configuration for the type, or null if none supplied
eventTypeName - the name of the event
eventTypeId - event type id
Method Detail

getEventTypeId

public int getEventTypeId()
Returns the event type id.

Returns:
event type id

getEventTypeResolutionURI

public java.net.URI getEventTypeResolutionURI()
Returns the URI specified for resolving the event type, may be a child URI of the event representation URI and may carry additional parameters

Returns:
URI

getTypeInitializer

public java.io.Serializable getTypeInitializer()
Returns optional configuration for the type, 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

getEventTypeName

public java.lang.String getEventTypeName()
Returns the name assigned to the event type.

Returns:
name

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