Interface IRuntimeComponentExecutor
-
- All Known Subinterfaces:
IDebugServerExecutor
,IDesignerSessionThickClientLauncher
,IInterfaceLanguagesExecutor
,IMobileApplicationLauncher<T>
,IMobileClientLauncher<T>
,IPublishExecutor
,IRuntimeClientLauncher
,IThickClientLauncher
,IThinClientLauncher
,IUrlOpenClientLauncher
,IWebClientExecutor
- All Known Implementing Classes:
AbstractRuntimeComponentExecutor
,DebugServerExecutor
,DesignerSessionThickClientLauncher
,InterfaceLanguagesExecutor
,PublishExecutor
,ThickClientLauncher
,ThinClientLauncher
,WebClientLauncher
,XdgOpenWebClientLauncher
public interface IRuntimeComponentExecutor
Describes an 1C:Enterprise runtime component executor. 1C:Enterprise runtime component executors are defined by extensions. An 1C:Enterprise runtime component executor is defined inplugin.xml
.
Following is an example definition of an 1C:Enterprise runtime component executor extension:<extension point="com._1c.g5.v8.dt.platform.services.core.runtimeComponentExecutors"> <executor class="com.example.ExampleComponentExecutor" type="com._1c.g5.v8.dt.platform.services.core.componentTypes.ExampleComponentType"> <supportedRuntimes runtime="com._1c.g5.v8.dt.platform.runtime.8.3.8"></supportedRuntimes> </executor> </extension>
Implementation of an executor depends on the component type and may be various. Executor may launch 1C:Enterprise runtime executable files or publish 1C:Enterprise runtime components on web servers for example. Defined 1C:Enterprise runtime component executors can be obtained by the target 1C:Enterprise runtime installation and component type with
component manager
and used for 1C:Enterprise runtime execution.Example of usage is:
IRuntimeComponent component = runtimeComponentManager.getComponent( runtimeInstallation, "com._1c.g5.v8.dt.platform.services.core.componentTypes.ExampleComponentType"); ExampleComponentExecutor executor = (ExampleComponentExecutor)runtimeComponentManager.getExecutor( installation, "com._1c.g5.v8.dt.platform.services.core.componentTypes.ExampleComponentType"); executor.someMethod(component, parameters);
This interface is intended to be implemented and registered by clients.
Clients may implement
IRuntimeClientExecutor
orIUrlOpenClientExecutor
interfaces for 1C:Enterprise runtime client executors, and they will be automatically added to the 1C:Enterprise launch configuration settings.Clients may use
IRuntimeComponentManager
to get instances of components and executors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
needComponent()
Returns whether instance of 1C:Enterprise component is needed for execution.
-
-
-
Method Detail
-
needComponent
boolean needComponent()
Returns whether instance of 1C:Enterprise component is needed for execution. Some of executor implementations requires compoment for execution actions: for example, executable files launching.- Returns:
- whether instance of 1C:Enterprise component is needed for execution
-
-