com.espertech.esper.plugin
Class PlugInEventTypeHandlerContext

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

public class PlugInEventTypeHandlerContext
extends 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(URI eventTypeResolutionURI, Serializable typeInitializer, String eventTypeAlias)
          Ctor.
 
Method Summary
 String getEventTypeAlias()
          Returns the name assigned to the event type.
 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
 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(URI eventTypeResolutionURI,
                                     Serializable typeInitializer,
                                     String eventTypeAlias)
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
eventTypeAlias - the name of the event
Method Detail

getEventTypeResolutionURI

public 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 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

getEventTypeAlias

public String getEventTypeAlias()
Returns the name assigned to the event type.

Returns:
alias

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com