Package edu.sc.seis.sod.web
Class WebAdmin
java.lang.Object
edu.sc.seis.sod.web.WebAdmin
- All Implemented Interfaces:
ArmListener
public class WebAdmin extends java.lang.Object implements ArmListener
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
API
static java.lang.String
JSON_DATA_DIR
static java.lang.String
SITE
-
Constructor Summary
Constructors Constructor Description WebAdmin()
-
Method Summary
Modifier and Type Method Description void
finished(Arm arm)
static java.lang.String
getApiBaseUrl()
static java.lang.String
getJsonDataDir()
static SuccessfulEventCache
getSuccessfulEventCache()
void
join()
static void
setJsonHeader(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
void
start()
void
started()
Called when all the arms have been started.void
starting(Arm arm)
-
Field Details
-
SITE
public static final java.lang.String SITE- See Also:
- Constant Field Values
-
API
public static final java.lang.String API- See Also:
- Constant Field Values
-
JSON_DATA_DIR
public static final java.lang.String JSON_DATA_DIR- See Also:
- Constant Field Values
-
-
Constructor Details
-
WebAdmin
public WebAdmin()
-
-
Method Details
-
start
public void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
finished
- Specified by:
finished
in interfaceArmListener
-
starting
- Specified by:
starting
in interfaceArmListener
- Throws:
ConfigurationException
-
started
Description copied from interface:ArmListener
Called when all the arms have been started.- Specified by:
started
in interfaceArmListener
- Throws:
ConfigurationException
-
join
public void join() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
getSuccessfulEventCache
-
getApiBaseUrl
public static java.lang.String getApiBaseUrl() -
getJsonDataDir
public static java.lang.String getJsonDataDir() -
setJsonHeader
public static void setJsonHeader(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
-