Class ThinClientLauncher
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.AbstractRuntimeComponentExecutor
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.ThinClientLauncher
-
- All Implemented Interfaces:
IRuntimeClientLauncher
,IRuntimeComponentExecutor
,IThinClientLauncher
,IUrlOpenClientLauncher
public class ThinClientLauncher extends AbstractRuntimeComponentExecutor implements IThinClientLauncher
Implementation ofIThinClientLauncher
.
-
-
Constructor Summary
Constructors Constructor Description ThinClientLauncher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Process
runClient(ILaunchableRuntimeComponent thinClient, InfobaseReference infobase, RuntimeExecutionArguments arguments)
Runs a 1C:Enterprise runtime platform client on the given infobase using the provided 1C:Enterprise runtime platform client component.Optional<Process>
runClient(IRuntimeComponent thinClient, URL url, InfobaseReference infobase, RuntimeExecutionArguments arguments)
Launches (opens) the providedURL
as 1C:Enterprise runtime client.-
Methods inherited from class com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.AbstractRuntimeComponentExecutor
appendClientArguments, appendExtensionCustomization, appendInfobaseAccess, appendRuntimeClientArguments, createTempFile, executeRuntimeProcessCommand, needComponent, readRuntimeLog, splitInfobaseConnection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.dt.platform.services.core.runtimes.execution.IRuntimeComponentExecutor
needComponent
-
-
-
-
Method Detail
-
runClient
public Process runClient(ILaunchableRuntimeComponent thinClient, InfobaseReference infobase, RuntimeExecutionArguments arguments) throws RuntimeExecutionException
Description copied from interface:IRuntimeClientLauncher
Runs a 1C:Enterprise runtime platform client on the given infobase using the provided 1C:Enterprise runtime platform client component. Returns the started process.- Specified by:
runClient
in interfaceIRuntimeClientLauncher
- Parameters:
thinClient
- the 1C:Enterprise runtime launchable client component, cannot benull
infobase
- the infobase reference to launch client on, cannot benull
arguments
- the execution arguments, can benull
, then will not be used- Returns:
- a process handle of launched 1C:Enterprise client, never
null
- Throws:
RuntimeExecutionException
- if 1C:Enterprise runtime process execution fails
-
runClient
public Optional<Process> runClient(IRuntimeComponent thinClient, URL url, InfobaseReference infobase, RuntimeExecutionArguments arguments) throws RuntimeExecutionException
Description copied from interface:IUrlOpenClientLauncher
Launches (opens) the providedURL
as 1C:Enterprise runtime client. 1C:Enterprise runtime client component can be used if executor implementationneeds component
for execution. Returns the started process or none if started process cannot be obtained (e.g. browser opening).- Specified by:
runClient
in interfaceIUrlOpenClientLauncher
- Parameters:
thinClient
- the 1C:Enterprise runtime client component to openURL
with ornull
if executor implementation does notneed component
url
- the web URL to launch client with, cannot benull
infobase
- the infobase that is published on the provided web URL ornull
if nonearguments
- the execution arguments, can benull
, then will not be used- Throws:
RuntimeExecutionException
- if 1C:Enterprise runtime process execution fails
-
-