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 DefaultRepositoryEventDispatcher
addRepositoryListener(RepositoryListener listener)
void
dispatch(RepositoryEvent event)
Dispatches the specified repository event to all registered listeners.void
initService(ServiceLocator locator)
DefaultRepositoryEventDispatcher
setRepositoryListeners(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:
initService
in interfaceService
-
dispatch
public void dispatch(RepositoryEvent event)
Description copied from interface:RepositoryEventDispatcher
Dispatches the specified repository event to all registered listeners.- Specified by:
dispatch
in interfaceRepositoryEventDispatcher
- Parameters:
event
- The event to dispatch, must not benull
.
-
-