Class MaintenanceTaskManager
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.workspaces.repository.maintenance.MaintenanceTaskManager
-
- org.ametys.plugins.repository.maintenance.MaintenanceTaskManager
-
- All Implemented Interfaces:
Component
,Contextualizable
,LogEnabled
,Serviceable
public class MaintenanceTaskManager extends MaintenanceTaskManager
This manager overrides the standalone manager to do specific in safe-mode (repository is not started)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.workspaces.repository.maintenance.MaintenanceTaskManager
MaintenanceTaskManager.MaintenanceTaskType
-
-
Field Summary
-
Fields inherited from class org.ametys.workspaces.repository.maintenance.MaintenanceTaskManager
_lastRunningTaskType, _runningTask, _runningTaskType, _systemStatus, MAINTENANCE_TASK_ENDED, MAINTENANCE_TASK_RUNNING, REPOSITORY_UNAVAILABLE, ROLE
-
-
Constructor Summary
Constructors Constructor Description MaintenanceTaskManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isJndi()
Determines if the repository is obtained through JNDIprotected void
shutdownRepository()
Shutdown the Ametys repository instance-
Methods inherited from class org.ametys.workspaces.repository.maintenance.MaintenanceTaskManager
_createTask, contextualize, getLastRunningTaskType, getProgressInfo, getRunningTaskType, isRepositoryStarted, isTaskRunning, launch, service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
MaintenanceTaskManager
public MaintenanceTaskManager()
-
-
Method Detail
-
shutdownRepository
protected void shutdownRepository() throws RepositoryException
Description copied from class:MaintenanceTaskManager
Shutdown the Ametys repository instance- Overrides:
shutdownRepository
in classMaintenanceTaskManager
- Throws:
RepositoryException
- If the repository cannot be shutdown
-
isJndi
public boolean isJndi()
Description copied from class:MaintenanceTaskManager
Determines if the repository is obtained through JNDI- Overrides:
isJndi
in classMaintenanceTaskManager
- Returns:
- true if the repository is obtained through JNDI
-
-