tigase.component.modules

## Interface ModuleProvider

- All Known Implementing Classes:
    ModulesManager

      public interface ModuleProvider

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<String>` | `getAvailableFeatures()` Returns features offered by registered modules.
    `<T extends Module> T` | `getModule(String id)` Return module implementation by module identifier.
    `List<Module>` | `getModules()` Returns list of all registered `modules` in current component.
    `Collection<String>` | `getModulesId()` Returns collection of identifiers of registered `modules`.

- - ### Method Detail

    - #### getAvailableFeatures

          Set<String> getAvailableFeatures()

      Returns features offered by registered modules.
      Returns:
        collection of available features.

    - #### getModule

          <T extends Module> T getModule(String id)

      Return module implementation by module identifier.
      Parameters:
        `id` - identifier
      Returns:
        module implementation.

    - #### getModules

          List<Module> getModules()

      Returns list of all registered `modules` in current component.
      Returns:
        list of modules.

    - #### getModulesId

          Collection<String> getModulesId()

      Returns collection of identifiers of registered `modules`.
      Returns:
        list of modules ID.

Copyright © 2017 "Tigase, Inc.". All rights reserved.