public class EventServiceImpl extends java.lang.Object implements EventService, EventManager
| Constructor and Description |
|---|
EventServiceImpl(BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(EventListener listener)
Add this listener to the manager
|
void |
dispose() |
protected void |
eventStored(Event event) |
void |
publishEvent(Event event)
Publish the provided event
|
void |
removeEventListener(EventListener listener) |
protected void |
setStorage(Storage service) |
public EventServiceImpl(BundleContext context)
throws InvalidSyntaxException
InvalidSyntaxExceptionprotected void eventStored(Event event)
public void dispose()
protected void setStorage(Storage service)
public void publishEvent(Event event)
EventServicepublishEvent in interface EventServiceevent - the event to publishpublic void addEventListener(EventListener listener)
EventManagerIf the listener was already added the request will be ignored.
If the listener was added to the manager, all current known events have to be provided to the listener.
addEventListener in interface EventManagerlistener - the listener to addpublic void removeEventListener(EventListener listener)
removeEventListener in interface EventManager
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0