Search in sources :

Example 1 with ISyncExecutorService

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

Aggregations

IExecutorService (org.jowidgets.cap.common.api.service.IExecutorService)1 IAdapterFactoryProvider (org.jowidgets.cap.service.api.adapter.IAdapterFactoryProvider)1 ISyncExecutorService (org.jowidgets.cap.service.api.adapter.ISyncExecutorService)1