use of org.jowidgets.cap.service.api.adapter.IAdapterFactoryProvider in project jo-client-platform by jo-source.
the class ExecutorServiceBuilderImpl method build.
@Override
public IExecutorService<PARAM_TYPE> build() {
final IAdapterFactoryProvider afp = CapServiceToolkit.adapterFactoryProvider();
final IAdapterFactory<IExecutorService<PARAM_TYPE>, ISyncExecutorService<PARAM_TYPE>> executorAdapterFactory = afp.executor();
return executorAdapterFactory.createAdapter(buildSyncService());
}
use of org.jowidgets.cap.service.api.adapter.IAdapterFactoryProvider in project jo-client-platform by jo-source.
the class RefreshServiceBuilderImpl method build.
@Override
public IRefreshService build() {
final IAdapterFactoryProvider afp = CapServiceToolkit.adapterFactoryProvider();
final IAdapterFactory<IRefreshService, ISyncRefreshService> adapterFactory = afp.refresh();
return adapterFactory.createAdapter(buildSyncService());
}
use of org.jowidgets.cap.service.api.adapter.IAdapterFactoryProvider in project jo-client-platform by jo-source.
the class UpdaterServiceBuilderImpl method build.
@Override
public IUpdaterService build() {
final IAdapterFactoryProvider afp = CapServiceToolkit.adapterFactoryProvider();
final IAdapterFactory<IUpdaterService, ISyncUpdaterService> adapterFactory = afp.updater();
return adapterFactory.createAdapter(buildSyncService());
}
Aggregations