@Named public class DefaultRepositoryEventDispatcher extends Object implements RepositoryEventDispatcher, Service
| Constructor and Description |
|---|
DefaultRepositoryEventDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
DefaultRepositoryEventDispatcher |
addRepositoryListener(RepositoryListener listener) |
void |
dispatch(RepositoryEvent event)
Dispatches the specified repository event to all registered listeners.
|
void |
initService(ServiceLocator locator)
Provides the opportunity to initialize this service and to acquire other services for its operation from the
locator.
|
DefaultRepositoryEventDispatcher |
setLoggerFactory(LoggerFactory loggerFactory) |
DefaultRepositoryEventDispatcher |
setRepositoryListeners(Collection<RepositoryListener> listeners) |
public DefaultRepositoryEventDispatcher setLoggerFactory(LoggerFactory loggerFactory)
public DefaultRepositoryEventDispatcher addRepositoryListener(RepositoryListener listener)
public DefaultRepositoryEventDispatcher setRepositoryListeners(Collection<RepositoryListener> listeners)
public void initService(ServiceLocator locator)
ServiceinitService in interface Servicelocator - The service locator, must not be null.public void dispatch(RepositoryEvent event)
RepositoryEventDispatcherdispatch in interface RepositoryEventDispatcherevent - The event to dispatch, must not be null.Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.