package com.nagarro.server;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.isomorphic.rpc.RPCManager;

/**
 * {@link SpringSmartGWTService} implementation.
 */
@Service
@Transactional(isolation = Isolation.READ_COMMITTED, propagation = Propagation.REQUIRED)
public class SpringSmartGWTServiceImpl implements SpringSmartGWTService {

    @Override
    public void processQueue(final RPCManager rpc) throws Exception {
        rpc.processRPCTransaction();
    }

}
