|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EsperTemplateOperations
Specifies the operations exposed by an Esper Template operations.
| Method Summary | |
|---|---|
void |
addStatement(EsperStatement statement)
Adds an EsperStatement to the template. |
void |
cleanup()
Deallocated all resources associated with this template when it is finished with. |
com.espertech.esper.client.EPRuntime |
getEsperNativeRuntime()
Retrieve the configured esper native runtime. |
java.util.Set<EsperStatement> |
getStatements()
Return the currently configured and registered set of EsperStatement objects. |
void |
initialize()
Sets up and allocated all resources associated with this template prior to its use. |
void |
sendEvent(java.lang.Object event)
Instructs the template to send an event to Esper. |
void |
setConfiguration(org.springframework.core.io.Resource configuration)
Set the location of the XML Esper configuration resource. |
void |
setName(java.lang.String name)
Sets the name used to identify this template and its resources within Esper. |
void |
setStatements(java.util.Set<EsperStatement> statements)
Add a collection of EsperStatement to the template. |
void |
setUnmatchedListener(com.espertech.esper.client.UnmatchedListener unmatchedListener)
Specify the listener that should be notified of any unmatched events. |
| Method Detail |
|---|
void initialize()
throws InvalidEsperConfigurationException
InvalidEsperConfigurationException - thrown if any configuration errors have been madevoid cleanup()
void setName(java.lang.String name)
name - The name associated with this templatevoid setStatements(java.util.Set<EsperStatement> statements)
EsperStatement to the template.
statementBeans - void setConfiguration(org.springframework.core.io.Resource configuration)
configurationResource - void setUnmatchedListener(com.espertech.esper.client.UnmatchedListener unmatchedListener)
unmatchedListener - The listener that is notified of events that are not matchedcom.espertech.esper.client.EPRuntime getEsperNativeRuntime()
java.util.Set<EsperStatement> getStatements()
EsperStatement objects.
EsperStatement objects.void addStatement(EsperStatement statement)
EsperStatement to the template.
statement - The EsperStatement to add to the template.
void sendEvent(java.lang.Object event)
throws InvalidEsperConfigurationException
event - The event that Esper is to be informed of.
InvalidEsperConfigurationException - thrown if any runtime configuration problems occur
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||