Search in sources :

Example 1 with IAdapterFactoryProvider

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());
}
Also used : IAdapterFactoryProvider(org.jowidgets.cap.service.api.adapter.IAdapterFactoryProvider) ISyncExecutorService(org.jowidgets.cap.service.api.adapter.ISyncExecutorService) IExecutorService(org.jowidgets.cap.common.api.service.IExecutorService)

Example 2 with IAdapterFactoryProvider

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());
}
Also used : ISyncRefreshService(org.jowidgets.cap.service.api.adapter.ISyncRefreshService) IAdapterFactoryProvider(org.jowidgets.cap.service.api.adapter.IAdapterFactoryProvider) IRefreshService(org.jowidgets.cap.common.api.service.IRefreshService)

Example 3 with IAdapterFactoryProvider

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());
}
Also used : ISyncUpdaterService(org.jowidgets.cap.service.api.adapter.ISyncUpdaterService) IAdapterFactoryProvider(org.jowidgets.cap.service.api.adapter.IAdapterFactoryProvider) IUpdaterService(org.jowidgets.cap.common.api.service.IUpdaterService)

Aggregations

IAdapterFactoryProvider (org.jowidgets.cap.service.api.adapter.IAdapterFactoryProvider)3 IExecutorService (org.jowidgets.cap.common.api.service.IExecutorService)1 IRefreshService (org.jowidgets.cap.common.api.service.IRefreshService)1 IUpdaterService (org.jowidgets.cap.common.api.service.IUpdaterService)1 ISyncExecutorService (org.jowidgets.cap.service.api.adapter.ISyncExecutorService)1 ISyncRefreshService (org.jowidgets.cap.service.api.adapter.ISyncRefreshService)1 ISyncUpdaterService (org.jowidgets.cap.service.api.adapter.ISyncUpdaterService)1