Class DefaultSyncContextFactory
java.lang.Object
org.eclipse.aether.internal.impl.synccontext.legacy.DefaultSyncContextFactory
- All Implemented Interfaces:
SyncContextFactory
,org.eclipse.aether.spi.locator.Service
,org.eclipse.aether.spi.synccontext.SyncContextFactory
@Singleton
@Named
@Deprecated
public final class DefaultSyncContextFactory
extends Object
implements SyncContextFactory, org.eclipse.aether.spi.locator.Service
Deprecated.
Use the proper class from SPI module.
Deprecated
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 Summary
ConstructorDescriptionDeprecated.DefaultSyncContextFactory
(org.eclipse.aether.spi.synccontext.SyncContextFactory delegate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
initService
(org.eclipse.aether.spi.locator.ServiceLocator locator) Deprecated.org.eclipse.aether.SyncContext
newInstance
(org.eclipse.aether.RepositorySystemSession session, boolean shared) Deprecated.
-
Constructor Details
-
DefaultSyncContextFactory
public DefaultSyncContextFactory()Deprecated. -
DefaultSyncContextFactory
@Inject public DefaultSyncContextFactory(org.eclipse.aether.spi.synccontext.SyncContextFactory delegate) Deprecated.
-
-
Method Details
-
initService
Deprecated.- Specified by:
initService
in interfaceorg.eclipse.aether.spi.locator.Service
-
newInstance
public org.eclipse.aether.SyncContext newInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared) Deprecated.- Specified by:
newInstance
in interfaceorg.eclipse.aether.spi.synccontext.SyncContextFactory
-