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 ApplicationState
getState()
static boolean
isError()
void
notifyApplicationStarted()
void
notifyServletsLoaded()
void
setState(@NonNull ApplicationState state)
void
shutDown()
-
-
-
Method Detail
-
getState
public @NonNull ApplicationState getState()
- Specified by:
getState
in interfaceApplicationStatusService
- Returns:
- the current state of the server
-
isError
public static boolean isError()
-
setState
public void setState(@NonNull ApplicationState state)
- Specified by:
setState
in interfaceMutableApplicationStatusService
-
notifyServletsLoaded
public void notifyServletsLoaded()
- Specified by:
notifyServletsLoaded
in interfaceMutableApplicationStatusService
-
notifyApplicationStarted
public void notifyApplicationStarted()
- Specified by:
notifyApplicationStarted
in interfaceMutableApplicationStatusService
-
shutDown
@PreDestroy public void shutDown()
-
-