package com.napa.pulse.service.impl; import com.napa.pulse.dao.interfaces.PulseUtilityDao; import com.napa.pulse.service.interfaces.PulseUtilityService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.sql.SQLException; import java.util.Map; /** * @author PCTR98154 */ @Service public class PulseUtilityServiceImpl implements PulseUtilityService { @Autowired PulseUtilityDao dao; /* (non-Javadoc) * @see com.napa.pulse.service.interfaces.PulseUtilityService#getConnectionStats() */ @Override public Map getConnectionStats() throws SQLException { return dao.getConnectionStats(); } /* (non-Javadoc) * @see com.napa.pulse.service.interfaces.PulseUtilityService#healthCheck() */ @Override public boolean healthCheck() throws Exception { return dao.healthCheck(); } }