Package org.eclipse.aether.internal.impl
Class DefaultRepositoryEventDispatcher
- java.lang.Object
-
- org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher
-
- All Implemented Interfaces:
RepositoryEventDispatcher,Service
@Named public class DefaultRepositoryEventDispatcher extends Object implements RepositoryEventDispatcher, Service
-
-
Constructor Summary
Constructors Constructor Description DefaultRepositoryEventDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultRepositoryEventDispatcheraddRepositoryListener(RepositoryListener listener)voiddispatch(RepositoryEvent event)Dispatches the specified repository event to all registered listeners.voidinitService(ServiceLocator locator)DefaultRepositoryEventDispatchersetRepositoryListeners(Collection<RepositoryListener> listeners)
-
-
-
Constructor Detail
-
DefaultRepositoryEventDispatcher
public DefaultRepositoryEventDispatcher()
-
-
Method Detail
-
addRepositoryListener
public DefaultRepositoryEventDispatcher addRepositoryListener(RepositoryListener listener)
-
setRepositoryListeners
public DefaultRepositoryEventDispatcher setRepositoryListeners(Collection<RepositoryListener> listeners)
-
initService
public void initService(ServiceLocator locator)
- Specified by:
initServicein interfaceService
-
dispatch
public void dispatch(RepositoryEvent event)
Description copied from interface:RepositoryEventDispatcherDispatches the specified repository event to all registered listeners.- Specified by:
dispatchin interfaceRepositoryEventDispatcher- Parameters:
event- The event to dispatch, must not benull.
-
-