Package io.jmix.reports.libintegration
Class JmixOfficeIntegration
java.lang.Object
com.haulmont.yarg.formatters.impl.doc.connector.OfficeIntegration
io.jmix.reports.libintegration.JmixOfficeIntegration
- All Implemented Interfaces:
com.haulmont.yarg.formatters.impl.doc.connector.OfficeIntegrationAPI
public class JmixOfficeIntegration
extends com.haulmont.yarg.formatters.impl.doc.connector.OfficeIntegration
-
Field Summary
Fields inherited from class com.haulmont.yarg.formatters.impl.doc.connector.OfficeIntegration
connections, connectionsQueue, connectionTimeoutSec, countOfRetry, displayDeviceAvailable, executor, openOfficePath, openOfficePorts, platformDependProcessManagement, retryIntervalMs, temporaryDirPath, timeoutInSeconds
Fields inherited from interface com.haulmont.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
(com.haulmont.yarg.formatters.impl.doc.connector.OfficeTask officeTask, int timeoutInSeconds) Methods inherited from class com.haulmont.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(com.haulmont.yarg.formatters.impl.doc.connector.OfficeTask officeTask, int timeoutInSeconds) throws com.haulmont.yarg.formatters.impl.doc.connector.NoFreePortsException - Specified by:
runTaskWithTimeout
in interfacecom.haulmont.yarg.formatters.impl.doc.connector.OfficeIntegrationAPI
- Overrides:
runTaskWithTimeout
in classcom.haulmont.yarg.formatters.impl.doc.connector.OfficeIntegration
- Throws:
com.haulmont.yarg.formatters.impl.doc.connector.NoFreePortsException
-
destroyOfficeIntegration
@PreDestroy protected void destroyOfficeIntegration()
-