Class DefaultSyncContextFactory
java.lang.Object
org.eclipse.aether.internal.impl.synccontext.DefaultSyncContextFactory
- All Implemented Interfaces:
org.eclipse.aether.spi.locator.Service,org.eclipse.aether.spi.synccontext.SyncContextFactory
@Singleton
@Named
public final class DefaultSyncContextFactory
extends Object
implements org.eclipse.aether.spi.synccontext.SyncContextFactory, org.eclipse.aether.spi.locator.Service
Default
SyncContextFactory implementation that uses named locks.-
Constructor Summary
ConstructorsConstructorDescriptionConstructor used with DI, where factories are injected and selected based on key. -
Method Summary
Modifier and TypeMethodDescriptionvoidinitService(org.eclipse.aether.spi.locator.ServiceLocator locator) org.eclipse.aether.SyncContextnewInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared) voidshutdown()
-
Constructor Details
-
DefaultSyncContextFactory
Constructor used with DI, where factories are injected and selected based on key. -
DefaultSyncContextFactory
public DefaultSyncContextFactory()
-
-
Method Details
-
initService
- Specified by:
initServicein interfaceorg.eclipse.aether.spi.locator.Service
-
newInstance
public org.eclipse.aether.SyncContext newInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared) - Specified by:
newInstancein interfaceorg.eclipse.aether.spi.synccontext.SyncContextFactory
-
shutdown
-