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 Details

    • getRuntime

      IRuntime getRuntime(String id)
      Returns the 1C:Enterprise runtime extension with the specified identifier or null if 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 null if it does not exist
    • getRuntime

      IRuntime getRuntime(Version version)
      Returns the 1C:Enterprise runtime extension with the specified version or null if 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 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

      void addRuntimeRegistryChangeListener(IRuntimeRegistryChangeListener listener)
      Adds 1C:Enterprise runtimes extensions registry change listener
      Parameters:
      listener - 1C:Enterprise runtime extension registry change listener, cannot be null
    • removeRuntimeRegistryChangeListener

      void removeRuntimeRegistryChangeListener(IRuntimeRegistryChangeListener listener)
      Removes 1C:Enterprise runtimes extensions registry change listener
      Parameters:
      listener - 1C:Enterprise runtime extension registry change listener, cannot be null