nl.surfnet.coin.shared.log
Class ApiCallLogServiceImpl
java.lang.Object
nl.surfnet.coin.shared.log.ApiCallLogServiceImpl
- All Implemented Interfaces:
- ApiCallLogService
public class ApiCallLogServiceImpl
- extends Object
- implements ApiCallLogService
JDBC implementation for ApiCallLogService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApiCallLogServiceImpl
public ApiCallLogServiceImpl(DataSource dataSource)
ApiCallLogServiceImpl
public ApiCallLogServiceImpl(org.springframework.jdbc.core.JdbcTemplate template)
saveApiCallLog
public void saveApiCallLog(ApiCallLog log)
- Description copied from interface:
ApiCallLogService
- Log the Api request
- Specified by:
saveApiCallLog in interface ApiCallLogService
- Parameters:
log - the ApiCallLog to be inserted
findApiCallLog
public List<ApiCallLog> findApiCallLog(String serviceProvider)
- Specified by:
findApiCallLog in interface ApiCallLogService
- Parameters:
serviceProvider - the entityid of the serviceProvider
- Returns:
- all ApicCallLog instances for a SP
findServiceProviders
public List<String> findServiceProviders()
- Specified by:
findServiceProviders in interface ApiCallLogService
- Returns:
- all id's of the ServiceProviders
Copyright © 2009–2013 SURFnet bv, The Netherlands. All rights reserved.