Package com._1c.g5.v8.dt.platform
Interface IRuntimeRegistry
- 
 public interface IRuntimeRegistryThe 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:
- IRuntime
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddRuntimeRegistryChangeListener(IRuntimeRegistryChangeListener listener)Adds 1C:Enterprise runtimes extensions registry change listenerIRuntimegetRuntime(Version version)Returns the 1C:Enterprise runtime extension with the specified version ornullif it does not exist.IRuntimegetRuntime(String id)Returns the 1C:Enterprise runtime extension with the specified identifier ornullif it does not exist.Collection<IRuntime>getRuntimes()Returns all defined 1C:Enterprise runtimes extensions.voidremoveRuntimeRegistryChangeListener(IRuntimeRegistryChangeListener listener)Removes 1C:Enterprise runtimes extensions registry change listener
 
- 
- 
- 
Method Detail- 
getRuntimeIRuntime getRuntime(String id) Returns the 1C:Enterprise runtime extension with the specified identifier ornullif it does not exist.- Parameters:
- id- the unique identifier for 1C:Enterprise runtime extension, cannot be- null
- Returns:
- the 1C:Enterprise runtime extension with the specified id or nullif it does not exist
 
 - 
getRuntimeIRuntime getRuntime(Version version) Returns the 1C:Enterprise runtime extension with the specified version ornullif it does not exist.- Parameters:
- version- the platform version of 1C:Enterprise runtime extension, cannot be- null
- Returns:
- the 1C:Enterprise runtime extension with the specified version or nullif it does not exist
 
 - 
getRuntimesCollection<IRuntime> getRuntimes() Returns all defined 1C:Enterprise runtimes extensions. Returned collection is unmodifiable.- Returns:
- a collection of all 1C:Enterprise runtimes extensions, never null
 
 - 
addRuntimeRegistryChangeListenervoid addRuntimeRegistryChangeListener(IRuntimeRegistryChangeListener listener) Adds 1C:Enterprise runtimes extensions registry change listener- Parameters:
- listener- 1C:Enterprise runtime extension registry change listener, cannot be- null
 
 - 
removeRuntimeRegistryChangeListenervoid removeRuntimeRegistryChangeListener(IRuntimeRegistryChangeListener listener) Removes 1C:Enterprise runtimes extensions registry change listener- Parameters:
- listener- 1C:Enterprise runtime extension registry change listener, cannot be- null
 
 
- 
 
-