public class ExceptionEventResolver extends java.lang.Object implements StatisticsServiceEventResolver<ExceptionEvent>
| Constructor and Description |
|---|
ExceptionEventResolver() |
| Modifier and Type | Method and Description |
|---|---|
ExceptionEvent |
getEvent() |
java.util.Map<java.lang.String,java.lang.Object> |
resolve()
Resolves the the request to Elasticsearch format
|
void |
setEvent(ExceptionEvent event)
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<ExceptionEvent>public void setHandlers(java.util.Map<java.lang.String,StatisticsServiceEventHandler<?>> handlers)
StatisticsServiceEventResolversetHandlers in interface StatisticsServiceEventResolver<ExceptionEvent>handlers - the handlerspublic void setEvent(ExceptionEvent event)
StatisticsServiceEventResolverStatisticsServiceEventResolver.resolve() method is called.setEvent in interface StatisticsServiceEventResolver<ExceptionEvent>event - the eventpublic ExceptionEvent getEvent()
getEvent in interface StatisticsServiceEventResolver<ExceptionEvent>Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.