Class 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 java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void initService​(org.eclipse.aether.spi.locator.ServiceLocator locator)
      Deprecated.
       
      org.eclipse.aether.SyncContext newInstance​(org.eclipse.aether.RepositorySystemSession session, boolean shared)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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