Package com.atlassian.confluence.server
Class DefaultApplicationStatusService
- java.lang.Object
-
- com.atlassian.confluence.server.DefaultApplicationStatusService
-
- All Implemented Interfaces:
ApplicationStatusService,MutableApplicationStatusService
public class DefaultApplicationStatusService extends Object implements MutableApplicationStatusService
-
-
Constructor Summary
Constructors Constructor Description DefaultApplicationStatusService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull ApplicationStategetState()static booleanisError()voidnotifyApplicationStarted()voidnotifyServletsLoaded()voidsetState(@NonNull ApplicationState state)voidshutDown()
-
-
-
Method Detail
-
getState
public @NonNull ApplicationState getState()
- Specified by:
getStatein interfaceApplicationStatusService- Returns:
- the current state of the server
-
isError
public static boolean isError()
-
setState
public void setState(@NonNull ApplicationState state)
- Specified by:
setStatein interfaceMutableApplicationStatusService
-
notifyServletsLoaded
public void notifyServletsLoaded()
- Specified by:
notifyServletsLoadedin interfaceMutableApplicationStatusService
-
notifyApplicationStarted
public void notifyApplicationStarted()
- Specified by:
notifyApplicationStartedin interfaceMutableApplicationStatusService
-
shutDown
@PreDestroy public void shutDown()
-
-