@Singleton @Named @Deprecated public final class DefaultSyncContextFactory extends Object implements SyncContextFactory, org.eclipse.aether.spi.locator.Service
SyncContextFactory
implementation that delegates to proper
SyncContextFactory
implementation. Used in Guice/SISU where we cannot bind same instance to two keys,
this component "bridges" from deprecated to current.Constructor and Description |
---|
DefaultSyncContextFactory()
Deprecated.
|
DefaultSyncContextFactory(org.eclipse.aether.spi.synccontext.SyncContextFactory delegate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
Deprecated.
|
org.eclipse.aether.SyncContext |
newInstance(org.eclipse.aether.RepositorySystemSession session,
boolean shared)
Deprecated.
|
public DefaultSyncContextFactory()
@Inject public DefaultSyncContextFactory(org.eclipse.aether.spi.synccontext.SyncContextFactory delegate)
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
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.