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.SyncAgentTaskLoggenerateSeyconAgentTaskLog(String agentCodi, TaskEntity t, TaskLogEntity tl)protected voidhandleBoostTask(long taskId)protected voidhandleCancelTask(long taskId)protected voidhandleCancelUnscheduledTasks()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.SyncAgentTaskLoghandleGetAgentTasks(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 ObjecthandleGetServerService(String servicePath)protected Collection<Object>handleGetServerTasks(String url)protected InputStreamhandleGetSeyconServerLog(String urlServer)protected Map<String,int[]>handleGetStats(String server, String metric, int seconds, int step)protected com.soffid.iam.api.SyncServerInfohandleGetSyncServerInfo(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 voidhandleReleaseAllTasks()protected voidhandleReleaseTask(long taskId)protected voidhandleResetSyncServer(String url, String agent)protected String[]handleTailServerLog(String urlServer)protected voidhandleUpdateDispatcherConfiguration()protected voidhandleUpdatePendingTasks()-
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:
handleGetSyncServersStatusin classSyncServerServiceBase- Throws:
Exception- See Also:
SeyconServerService.getSeyconServersStatus()
-
handleGetServerAgentStatus
protected Collection<com.soffid.iam.api.AgentStatusInfo> handleGetServerAgentStatus(String url) throws Exception
- Specified by:
handleGetServerAgentStatusin 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:
handleGetServerTasksin 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:
handleGetAgentTasksin 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:
handleGetSeyconServerLogin classSyncServerServiceBase- Throws:
Exception
-
handleGetPendingTasksInfo
protected Collection<com.soffid.iam.api.SyncServerInfo> handleGetPendingTasksInfo() throws Exception
- Specified by:
handleGetPendingTasksInfoin classSyncServerServiceBase- Throws:
Exception
-
handleGetServerService
protected Object handleGetServerService(String servicePath) throws Exception
- Specified by:
handleGetServerServicein classSyncServerServiceBase- Throws:
Exception
-
handleUpdateDispatcherConfiguration
protected void handleUpdateDispatcherConfiguration() throws Exception- Specified by:
handleUpdateDispatcherConfigurationin classSyncServerServiceBase- Throws:
Exception
-
handleBoostTask
protected void handleBoostTask(long taskId) throws Exception- Specified by:
handleBoostTaskin classSyncServerServiceBase- Throws:
Exception
-
handleCancelTask
protected void handleCancelTask(long taskId) throws Exception- Specified by:
handleCancelTaskin classSyncServerServiceBase- Throws:
Exception
-
handleGetSyncServerInfo
protected com.soffid.iam.api.SyncServerInfo handleGetSyncServerInfo(String url) throws Exception
- Specified by:
handleGetSyncServerInfoin classSyncServerServiceBase- Throws:
Exception
-
handleResetSyncServer
protected void handleResetSyncServer(String url, String agent) throws Exception
- Specified by:
handleResetSyncServerin classSyncServerServiceBase- Throws:
Exception
-
handleFindUnscheduledTasks
protected Collection<com.soffid.iam.ui.SeyconTask> handleFindUnscheduledTasks() throws Exception
- Specified by:
handleFindUnscheduledTasksin classSyncServerServiceBase- Throws:
Exception
-
handleReleaseAllTasks
protected void handleReleaseAllTasks() throws Exception- Specified by:
handleReleaseAllTasksin classSyncServerServiceBase- Throws:
Exception
-
handleCancelUnscheduledTasks
protected void handleCancelUnscheduledTasks() throws Exception- Specified by:
handleCancelUnscheduledTasksin classSyncServerServiceBase- Throws:
Exception
-
handleReleaseTask
protected void handleReleaseTask(long taskId) throws Exception- Specified by:
handleReleaseTaskin classSyncServerServiceBase- Throws:
Exception
-
handleGetStats
protected Map<String,int[]> handleGetStats(String server, String metric, int seconds, int step) throws Exception
- Specified by:
handleGetStatsin classSyncServerServiceBase- Throws:
Exception
-
handleTailServerLog
protected String[] handleTailServerLog(String urlServer) throws Exception
- Specified by:
handleTailServerLogin classSyncServerServiceBase- Throws:
Exception
-
handleGetSyncServers
protected Collection<com.soffid.iam.api.Server> handleGetSyncServers() throws Exception
- Specified by:
handleGetSyncServersin classSyncServerServiceBase- Throws:
Exception
-
handleGetServerAgentStatus
protected Collection<com.soffid.iam.api.AgentStatusInfo> handleGetServerAgentStatus() throws Exception
- Specified by:
handleGetServerAgentStatusin classSyncServerServiceBase- Throws:
Exception
-
handleGetPendingTasksStats
protected Map<String,Vector<Object[]>> handleGetPendingTasksStats() throws Exception
- Specified by:
handleGetPendingTasksStatsin 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:
handleUpdatePendingTasksin classSyncServerServiceBase- Throws:
Exception
-
handleGetAgentTasks
protected com.soffid.iam.api.SyncAgentTaskLog handleGetAgentTasks(String url, String agentName, Long taskId) throws Exception
- Specified by:
handleGetAgentTasksin classSyncServerServiceBase- Throws:
Exception
-
handleGetSyncServerInstances
protected Collection<com.soffid.iam.api.Server> handleGetSyncServerInstances() throws Exception
- Specified by:
handleGetSyncServerInstancesin classSyncServerServiceBase- Throws:
Exception
-
-