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
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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
isJndi()
Determines if the repository is obtained through JNDIprotected void
Shutdown the Ametys repository instanceMethods 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 Details
-
MaintenanceTaskManager
public MaintenanceTaskManager()
-
-
Method Details
-
shutdownRepository
Description copied from class:MaintenanceTaskManager
Shutdown the Ametys repository instance- Overrides:
shutdownRepository
in classMaintenanceTaskManager
- Throws:
javax.jcr.RepositoryException
- If the repository cannot be shutdown
-
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
-