public class DefaultServiceEventResolver extends java.lang.Object implements StatisticsServiceEventResolver<Event>
| Constructor and Description |
|---|
DefaultServiceEventResolver() |
| Modifier and Type | Method and Description |
|---|---|
Event |
getEvent() |
java.util.Map<java.lang.String,java.lang.Object> |
resolve()
Resolves the the request to Elasticsearch format
|
void |
setEvent(Event payload)
Sets the payload to the Resolver class.
|
void |
setHandlers(java.util.Map<java.lang.String,StatisticsServiceEventHandler<?>> handlers)
before the processing the Handlers can be added to the resolver via spring xml
|
public java.util.Map<java.lang.String,java.lang.Object> resolve()
StatisticsServiceEventResolverresolve in interface StatisticsServiceEventResolver<Event>public void setEvent(Event payload)
StatisticsServiceEventResolverStatisticsServiceEventResolver.resolve() method is called.setEvent in interface StatisticsServiceEventResolver<Event>payload - the eventpublic Event getEvent()
getEvent in interface StatisticsServiceEventResolver<Event>public void setHandlers(java.util.Map<java.lang.String,StatisticsServiceEventHandler<?>> handlers)
StatisticsServiceEventResolversetHandlers in interface StatisticsServiceEventResolver<Event>handlers - the handlersCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.