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 -
Method Summary
Modifier and TypeMethodDescription@NonNull ApplicationState
getState()
static boolean
isError()
void
void
void
setState
(@NonNull ApplicationState state) void
shutDown()
-
Constructor Details
-
DefaultApplicationStatusService
public DefaultApplicationStatusService()
-
-
Method Details
-
getState
- Specified by:
getState
in interfaceApplicationStatusService
- Returns:
- the current state of the server
-
isError
public static boolean isError() -
setState
- 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()
-