@Named @Component(role=SyncContextFactory.class) public class DefaultSyncContextFactory extends Object implements SyncContextFactory
| Constructor and Description |
|---|
DefaultSyncContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.aether.SyncContext |
newInstance(org.eclipse.aether.RepositorySystemSession session,
boolean shared)
Creates a new synchronization context.
|
public org.eclipse.aether.SyncContext newInstance(org.eclipse.aether.RepositorySystemSession session,
boolean shared)
SyncContextFactorynewInstance in interface SyncContextFactorysession - The repository session during which the context will be used, must not be null.shared - A flag indicating whether access to the artifacts/metadata associated with the new context can be
shared among concurrent readers or whether access needs to be exclusive to the calling thread.null.Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.