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 Details

  • Method Details

    • initService

      public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
      Deprecated.
      Specified by:
      initService in interface org.eclipse.aether.spi.locator.Service
    • newInstance

      public org.eclipse.aether.SyncContext newInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared)
      Deprecated.
      Specified by:
      newInstance in interface org.eclipse.aether.spi.synccontext.SyncContextFactory