public class DirectInvocationEventObserver extends Object implements EventObserver, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
DirectInvocationEventObserver(EventMessageSender eventMessageSender) |
| Modifier and Type | Method and Description |
|---|---|
static DirectInvocationEventObserver |
getInstance()
Provides a way to access the spring singleton in a static manner.
|
Future<MonitorResult<?>> |
observeEvent(Event e) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public DirectInvocationEventObserver(EventMessageSender eventMessageSender)
public Future<MonitorResult<?>> observeEvent(Event e)
observeEvent in interface EventObserverpublic static DirectInvocationEventObserver getInstance()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.