Package io.jmix.reports.libintegration
Class JmixOfficeIntegration
java.lang.Object
io.jmix.reports.yarg.formatters.impl.doc.connector.OfficeIntegration
io.jmix.reports.libintegration.JmixOfficeIntegration
- All Implemented Interfaces:
OfficeIntegrationAPI
-
Field Summary
Fields inherited from class io.jmix.reports.yarg.formatters.impl.doc.connector.OfficeIntegration
connections, connectionsQueue, connectionTimeoutSec, countOfRetry, displayDeviceAvailable, executor, openOfficePath, platformDependProcessManagement, retryIntervalMs, temporaryDirPath, timeoutInSeconds
Fields inherited from interface io.jmix.reports.yarg.formatters.impl.doc.connector.OfficeIntegrationAPI
DEFAULT_CONNECTION_TIMEOUT, DEFAULT_RETRY_COUNT, DEFAULT_RETRY_INTERVAL, DEFAULT_TIMEOUT
-
Constructor Summary
ConstructorDescriptionJmixOfficeIntegration
(String openOfficePath, Integer... ports) JmixOfficeIntegration
(String openOfficePath, List<Integer> ports) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
runTaskWithTimeout
(OfficeTask officeTask, int timeoutInSeconds) Methods inherited from class io.jmix.reports.yarg.formatters.impl.doc.connector.OfficeIntegration
acquireConnection, createConnection, createExecutor, getAvailablePorts, getConnectionTimeoutSec, getCountOfRetry, getExecutor, getPlatformDependProcessManagement, getRetryIntervalMs, getTemporaryDirPath, getTimeoutInSeconds, hardReloadAccessPorts, initConnections, isDisplayDeviceAvailable, releaseConnection, resolveProcessManager, setConnectionTimeoutSec, setCountOfRetry, setDisplayDeviceAvailable, setPlatformDependProcessManagement, setRetryIntervalMs, setTemporaryDirPath, setTimeoutInSeconds
-
Constructor Details
-
JmixOfficeIntegration
-
JmixOfficeIntegration
-
-
Method Details
-
runTaskWithTimeout
public void runTaskWithTimeout(OfficeTask officeTask, int timeoutInSeconds) throws NoFreePortsException - Specified by:
runTaskWithTimeout
in interfaceOfficeIntegrationAPI
- Overrides:
runTaskWithTimeout
in classOfficeIntegration
- Throws:
NoFreePortsException
-
destroyOfficeIntegration
@PreDestroy protected void destroyOfficeIntegration()
-