public class WOPIAvailabilityCheckerPlugin
extends org.exoplatform.container.component.BaseComponentPlugin
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
available
The WOPI available status.
|
protected static org.exoplatform.services.log.Log |
LOG
The Constant LOG.
|
protected ScheduledExecutorService |
refreshExecutor
The executor for refreshing.
|
protected static String |
WOPI_CHECK_URL_PARAM
The Constant WOPI_HOST_URL_PARAM.
|
protected String |
wopiCheckUrl
The discovery url.
|
| Constructor and Description |
|---|
WOPIAvailabilityCheckerPlugin(org.exoplatform.container.xml.InitParams params)
Instantiates a new WOPI Availability Checker Plugin
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkWOPIAvailability()
Check WOPI availability.
|
boolean |
isWOPIAvailable()
Checks if is WOPI available.
|
void |
start()
Start.
|
void |
stop()
Stop.
|
protected static final org.exoplatform.services.log.Log LOG
protected String wopiCheckUrl
protected static final String WOPI_CHECK_URL_PARAM
protected boolean available
protected ScheduledExecutorService refreshExecutor
public WOPIAvailabilityCheckerPlugin(org.exoplatform.container.xml.InitParams params)
params - the paramspublic void start()
public void stop()
public boolean isWOPIAvailable()
protected boolean checkWOPIAvailability()
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.