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 Summary
All 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
-
getRuntime
IRuntime 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 benull- Returns:
- the 1C:Enterprise runtime extension with the specified id or
nullif it does not exist
-
getRuntime
IRuntime 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 benull- Returns:
- the 1C:Enterprise runtime extension with the specified version or
nullif 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
void addRuntimeRegistryChangeListener(IRuntimeRegistryChangeListener listener)
Adds 1C:Enterprise runtimes extensions registry change listener- Parameters:
listener- 1C:Enterprise runtime extension registry change listener, cannot benull
-
removeRuntimeRegistryChangeListener
void removeRuntimeRegistryChangeListener(IRuntimeRegistryChangeListener listener)
Removes 1C:Enterprise runtimes extensions registry change listener- Parameters:
listener- 1C:Enterprise runtime extension registry change listener, cannot benull
-
-