@Singleton @Named @Deprecated public final class DefaultSyncContextFactory extends Object implements SyncContextFactory, Service
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 and Description |
|---|
DefaultSyncContextFactory()
Deprecated.
|
DefaultSyncContextFactory(SyncContextFactory delegate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initService(ServiceLocator locator)
Deprecated.
|
SyncContext |
newInstance(RepositorySystemSession session,
boolean shared)
Deprecated.
|
public DefaultSyncContextFactory()
@Inject public DefaultSyncContextFactory(SyncContextFactory delegate)
public void initService(ServiceLocator locator)
initService in interface Servicepublic SyncContext newInstance(RepositorySystemSession session, boolean shared)
newInstance in interface SyncContextFactoryCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.