Search in sources :

Example 1 with ISyncRefreshService

use of org.jowidgets.cap.service.api.adapter.ISyncRefreshService 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)

Aggregations

IRefreshService (org.jowidgets.cap.common.api.service.IRefreshService)1 IAdapterFactoryProvider (org.jowidgets.cap.service.api.adapter.IAdapterFactoryProvider)1 ISyncRefreshService (org.jowidgets.cap.service.api.adapter.ISyncRefreshService)1