@Singleton @Named public final class DefaultSyncContextFactory extends Object implements org.eclipse.aether.spi.synccontext.SyncContextFactory, org.eclipse.aether.spi.locator.Service
SyncContextFactory
implementation that uses named locks.Constructor and Description |
---|
DefaultSyncContextFactory() |
DefaultSyncContextFactory(NamedLockFactorySelector selector)
Constructor used with DI, where factories are injected and selected based on key.
|
Modifier and Type | Method and Description |
---|---|
void |
initService(org.eclipse.aether.spi.locator.ServiceLocator locator) |
org.eclipse.aether.SyncContext |
newInstance(org.eclipse.aether.RepositorySystemSession session,
boolean shared) |
void |
shutdown() |
@Inject public DefaultSyncContextFactory(NamedLockFactorySelector selector)
public DefaultSyncContextFactory()
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
initService
in interface org.eclipse.aether.spi.locator.Service
public org.eclipse.aether.SyncContext newInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared)
newInstance
in interface org.eclipse.aether.spi.synccontext.SyncContextFactory
@PreDestroy public void shutdown()
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.