public class ExceptionEventResolver extends Object implements StatisticsServiceEventResolver<ExceptionEvent>
| Constructor and Description |
|---|
ExceptionEventResolver() |
| Modifier and Type | Method and Description |
|---|---|
ExceptionEvent |
getEvent() |
Map<String,Object> |
resolve()
Resolves the the request to Elasticsearch format
|
void |
setEvent(ExceptionEvent event)
Sets the payload to the Resolver class.
|
void |
setHandlers(Map<String,StatisticsServiceEventHandler<?>> handlers)
before the processing the Handlers can be added to the resolver via spring xml
|
public Map<String,Object> resolve()
StatisticsServiceEventResolverresolve in interface StatisticsServiceEventResolver<ExceptionEvent>public void setHandlers(Map<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–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.