@Singleton @Named public class DefaultRepositoryEventDispatcher extends Object implements RepositoryEventDispatcher, org.eclipse.aether.spi.locator.Service
Constructor and Description |
---|
DefaultRepositoryEventDispatcher() |
Modifier and Type | Method and Description |
---|---|
DefaultRepositoryEventDispatcher |
addRepositoryListener(org.eclipse.aether.RepositoryListener listener) |
void |
dispatch(org.eclipse.aether.RepositoryEvent event)
Dispatches the specified repository event to all registered listeners.
|
void |
initService(org.eclipse.aether.spi.locator.ServiceLocator locator) |
DefaultRepositoryEventDispatcher |
setRepositoryListeners(Collection<org.eclipse.aether.RepositoryListener> listeners) |
public DefaultRepositoryEventDispatcher()
public DefaultRepositoryEventDispatcher addRepositoryListener(org.eclipse.aether.RepositoryListener listener)
public DefaultRepositoryEventDispatcher setRepositoryListeners(Collection<org.eclipse.aether.RepositoryListener> listeners)
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
initService
in interface org.eclipse.aether.spi.locator.Service
public void dispatch(org.eclipse.aether.RepositoryEvent event)
RepositoryEventDispatcher
dispatch
in interface RepositoryEventDispatcher
event
- The event to dispatch, must not be null
.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.