Package com._1c.g5.v8.dt.platform
Interface IRuntimeRegistry
- All Known Implementing Classes:
RuntimeRegistry
public interface IRuntimeRegistry
The workbench's global registry of 1C:Enterprise platform runtimes.
This registry contains all registered 1C:Enterprise platform runtime extensions. 1C:Enterprise runtimes extensions
are defined in plugin.xml
.
- See Also:
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds 1C:Enterprise runtimes extensions registry change listenergetRuntime
(Version version) Returns the 1C:Enterprise runtime extension with the specified version ornull
if it does not exist.getRuntime
(String id) Returns the 1C:Enterprise runtime extension with the specified identifier ornull
if it does not exist.Returns all defined 1C:Enterprise runtimes extensions.void
Removes 1C:Enterprise runtimes extensions registry change listener
-
Method Details
-
getRuntime
Returns the 1C:Enterprise runtime extension with the specified identifier ornull
if it does not exist.- Parameters:
id
- the unique identifier for 1C:Enterprise runtime extension, cannot benull
- Returns:
- the 1C:Enterprise runtime extension with the specified id or
null
if it does not exist
-
getRuntime
Returns the 1C:Enterprise runtime extension with the specified version ornull
if it does not exist.- Parameters:
version
- the platform version of 1C:Enterprise runtime extension, cannot benull
- Returns:
- the 1C:Enterprise runtime extension with the specified version or
null
if it does not exist
-
getRuntimes
Collection<IRuntime> getRuntimes()Returns all defined 1C:Enterprise runtimes extensions. Returned collection is unmodifiable.- Returns:
- a collection of all 1C:Enterprise runtimes extensions, never
null
-
addRuntimeRegistryChangeListener
Adds 1C:Enterprise runtimes extensions registry change listener- Parameters:
listener
- 1C:Enterprise runtime extension registry change listener, cannot benull
-
removeRuntimeRegistryChangeListener
Removes 1C:Enterprise runtimes extensions registry change listener- Parameters:
listener
- 1C:Enterprise runtime extension registry change listener, cannot benull
-