Package com.soffid.iam.service
Class SyncServerServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.SyncServerServiceBase
-
- com.soffid.iam.service.SyncServerServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.SyncServerService
public class SyncServerServiceImpl extends SyncServerServiceBase
- See Also:
SeyconServerService
-
-
Constructor Summary
Constructors Constructor Description SyncServerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector<Object[]>
createSerie(String serie, Calendar start, Map<String,Vector<Object[]>> map)
com.soffid.iam.api.SyncAgentTaskLog
generateSeyconAgentTaskLog(String agentCodi, TaskEntity t, TaskLogEntity tl)
protected void
handleBoostTask(long taskId)
protected void
handleCancelTask(long taskId)
protected void
handleCancelUnscheduledTasks()
protected Collection<com.soffid.iam.ui.SeyconTask>
handleFindUnscheduledTasks()
protected Collection<com.soffid.iam.api.SyncAgentTaskLog>
handleGetAgentTasks(String url, String agentCodi)
protected com.soffid.iam.api.SyncAgentTaskLog
handleGetAgentTasks(String url, String agentName, Long taskId)
protected Collection<com.soffid.iam.api.SyncServerInfo>
handleGetPendingTasksInfo()
protected Map<String,Vector<Object[]>>
handleGetPendingTasksStats()
protected Collection<com.soffid.iam.api.AgentStatusInfo>
handleGetServerAgentStatus()
protected Collection<com.soffid.iam.api.AgentStatusInfo>
handleGetServerAgentStatus(String url)
protected Object
handleGetServerService(String servicePath)
protected Collection<Object>
handleGetServerTasks(String url)
protected InputStream
handleGetSeyconServerLog(String urlServer)
protected Map<String,int[]>
handleGetStats(String server, String metric, int seconds, int step)
protected com.soffid.iam.api.SyncServerInfo
handleGetSyncServerInfo(String url)
protected Collection<com.soffid.iam.api.Server>
handleGetSyncServerInstances()
protected Collection<com.soffid.iam.api.Server>
handleGetSyncServers()
protected Collection<com.soffid.iam.api.SyncServerInfo>
handleGetSyncServersStatus()
protected void
handleReleaseAllTasks()
protected void
handleReleaseTask(long taskId)
protected void
handleResetSyncServer(String url, String agent)
protected String[]
handleTailServerLog(String urlServer)
protected void
handleUpdateDispatcherConfiguration()
protected void
handleUpdatePendingTasks()
-
Methods inherited from class com.soffid.iam.service.SyncServerServiceBase
boostTask, cancelTask, cancelUnscheduledTasks, findUnscheduledTasks, getAgentTasks, getAgentTasks, getConfigEntityDao, getConfigurationService, getDispatcherService, getPendingTasksInfo, getPendingTasksStats, getPrincipal, getServerAgentStatus, getServerAgentStatus, getServerEntityDao, getServerInstanceEntityDao, getServerService, getServerTasks, getSeyconServerLog, getStats, getStatsEntityDao, getStatsService, getSyncServerInfo, getSyncServerInstances, getSyncServers, getSyncServersStatus, getSystemEntityDao, getTaskEntityDao, getTaskLogEntityDao, getTenantEntityDao, releaseAllTasks, releaseTask, resetSyncServer, setConfigEntityDao, setConfigurationService, setDispatcherService, setServerEntityDao, setServerInstanceEntityDao, setStatsEntityDao, setStatsService, setSystemEntityDao, setTaskEntityDao, setTaskLogEntityDao, setTenantEntityDao, tailServerLog, updateDispatcherConfiguration, updatePendingTasks
-
-
-
-
Method Detail
-
handleGetSyncServersStatus
protected Collection<com.soffid.iam.api.SyncServerInfo> handleGetSyncServersStatus() throws Exception
- Specified by:
handleGetSyncServersStatus
in classSyncServerServiceBase
- Throws:
Exception
- See Also:
SeyconServerService.getSeyconServersStatus()
-
handleGetServerAgentStatus
protected Collection<com.soffid.iam.api.AgentStatusInfo> handleGetServerAgentStatus(String url) throws Exception
- Specified by:
handleGetServerAgentStatus
in classSyncServerServiceBase
- Throws:
Exception
- See Also:
es.caib.seycon.ng.servei.SeyconServerService#getSergerAgentStatus(java.lang.String)
-
handleGetServerTasks
protected Collection<Object> handleGetServerTasks(String url) throws Exception
- Specified by:
handleGetServerTasks
in classSyncServerServiceBase
- Throws:
Exception
- See Also:
SeyconServerService.getServerTasks(java.lang.String)
-
handleGetAgentTasks
protected Collection<com.soffid.iam.api.SyncAgentTaskLog> handleGetAgentTasks(String url, String agentCodi) throws Exception
- Specified by:
handleGetAgentTasks
in classSyncServerServiceBase
- Throws:
Exception
- See Also:
SeyconServerService.getAgentTasks(java.lang.String, java.lang.String)
-
generateSeyconAgentTaskLog
public com.soffid.iam.api.SyncAgentTaskLog generateSeyconAgentTaskLog(String agentCodi, TaskEntity t, TaskLogEntity tl)
-
handleGetSeyconServerLog
protected InputStream handleGetSeyconServerLog(String urlServer) throws Exception
- Specified by:
handleGetSeyconServerLog
in classSyncServerServiceBase
- Throws:
Exception
-
handleGetPendingTasksInfo
protected Collection<com.soffid.iam.api.SyncServerInfo> handleGetPendingTasksInfo() throws Exception
- Specified by:
handleGetPendingTasksInfo
in classSyncServerServiceBase
- Throws:
Exception
-
handleGetServerService
protected Object handleGetServerService(String servicePath) throws Exception
- Specified by:
handleGetServerService
in classSyncServerServiceBase
- Throws:
Exception
-
handleUpdateDispatcherConfiguration
protected void handleUpdateDispatcherConfiguration() throws Exception
- Specified by:
handleUpdateDispatcherConfiguration
in classSyncServerServiceBase
- Throws:
Exception
-
handleBoostTask
protected void handleBoostTask(long taskId) throws Exception
- Specified by:
handleBoostTask
in classSyncServerServiceBase
- Throws:
Exception
-
handleCancelTask
protected void handleCancelTask(long taskId) throws Exception
- Specified by:
handleCancelTask
in classSyncServerServiceBase
- Throws:
Exception
-
handleGetSyncServerInfo
protected com.soffid.iam.api.SyncServerInfo handleGetSyncServerInfo(String url) throws Exception
- Specified by:
handleGetSyncServerInfo
in classSyncServerServiceBase
- Throws:
Exception
-
handleResetSyncServer
protected void handleResetSyncServer(String url, String agent) throws Exception
- Specified by:
handleResetSyncServer
in classSyncServerServiceBase
- Throws:
Exception
-
handleFindUnscheduledTasks
protected Collection<com.soffid.iam.ui.SeyconTask> handleFindUnscheduledTasks() throws Exception
- Specified by:
handleFindUnscheduledTasks
in classSyncServerServiceBase
- Throws:
Exception
-
handleReleaseAllTasks
protected void handleReleaseAllTasks() throws Exception
- Specified by:
handleReleaseAllTasks
in classSyncServerServiceBase
- Throws:
Exception
-
handleCancelUnscheduledTasks
protected void handleCancelUnscheduledTasks() throws Exception
- Specified by:
handleCancelUnscheduledTasks
in classSyncServerServiceBase
- Throws:
Exception
-
handleReleaseTask
protected void handleReleaseTask(long taskId) throws Exception
- Specified by:
handleReleaseTask
in classSyncServerServiceBase
- Throws:
Exception
-
handleGetStats
protected Map<String,int[]> handleGetStats(String server, String metric, int seconds, int step) throws Exception
- Specified by:
handleGetStats
in classSyncServerServiceBase
- Throws:
Exception
-
handleTailServerLog
protected String[] handleTailServerLog(String urlServer) throws Exception
- Specified by:
handleTailServerLog
in classSyncServerServiceBase
- Throws:
Exception
-
handleGetSyncServers
protected Collection<com.soffid.iam.api.Server> handleGetSyncServers() throws Exception
- Specified by:
handleGetSyncServers
in classSyncServerServiceBase
- Throws:
Exception
-
handleGetServerAgentStatus
protected Collection<com.soffid.iam.api.AgentStatusInfo> handleGetServerAgentStatus() throws Exception
- Specified by:
handleGetServerAgentStatus
in classSyncServerServiceBase
- Throws:
Exception
-
handleGetPendingTasksStats
protected Map<String,Vector<Object[]>> handleGetPendingTasksStats() throws Exception
- Specified by:
handleGetPendingTasksStats
in classSyncServerServiceBase
- Throws:
Exception
-
createSerie
public Vector<Object[]> createSerie(String serie, Calendar start, Map<String,Vector<Object[]>> map)
-
handleUpdatePendingTasks
protected void handleUpdatePendingTasks() throws Exception
- Specified by:
handleUpdatePendingTasks
in classSyncServerServiceBase
- Throws:
Exception
-
handleGetAgentTasks
protected com.soffid.iam.api.SyncAgentTaskLog handleGetAgentTasks(String url, String agentName, Long taskId) throws Exception
- Specified by:
handleGetAgentTasks
in classSyncServerServiceBase
- Throws:
Exception
-
handleGetSyncServerInstances
protected Collection<com.soffid.iam.api.Server> handleGetSyncServerInstances() throws Exception
- Specified by:
handleGetSyncServerInstances
in classSyncServerServiceBase
- Throws:
Exception
-
-