public class DefaultCockpitGlobalEventPublisher extends Object implements CockpitGlobalEventPublisher
CTX_COCKPIT_EVENT_NOTIFICATION, SETTING_COCKPIT_EVENT_NOTIFICATION| Constructor and Description |
|---|
DefaultCockpitGlobalEventPublisher() |
| Modifier and Type | Method and Description |
|---|---|
protected CockpitEvent |
createEvent(Object eventSource,
String eventName,
Object eventData) |
protected CockpitProperties |
getCockpitProperties() |
protected CockpitEventQueue |
getEventQueue() |
protected boolean |
isCockpitEventNotificationEnabled() |
protected boolean |
isCockpitEventNotificationEnabled(Context ctx) |
protected void |
populateEventContext(Context source,
CockpitEvent destination) |
void |
publish(Object eventSource,
String eventName,
Object eventData,
Context eventContext) |
void |
publish(String eventName,
Object eventData,
Context eventContext) |
void |
setCockpitProperties(CockpitProperties cockpitProperties) |
void |
setEventQueue(CockpitEventQueue eventQueue) |
public void publish(Object eventSource, String eventName, Object eventData, Context eventContext)
publish in interface CockpitGlobalEventPublisherpublic void publish(String eventName, Object eventData, Context eventContext)
publish in interface CockpitGlobalEventPublisherprotected CockpitEvent createEvent(Object eventSource, String eventName, Object eventData)
protected boolean isCockpitEventNotificationEnabled()
protected boolean isCockpitEventNotificationEnabled(Context ctx)
protected void populateEventContext(Context source, CockpitEvent destination)
protected CockpitProperties getCockpitProperties()
public void setCockpitProperties(CockpitProperties cockpitProperties)
protected CockpitEventQueue getEventQueue()
public void setEventQueue(CockpitEventQueue eventQueue)
Copyright © 2018. All rights reserved.