tigase.component

## Interface Context

- All Known Subinterfaces:
    EventBusContext, MonitorContext
  All Known Implementing Classes:
    AbstractContext

      public interface Context

  Interface to provide configuration for an component.
  This interface should be extended if component requires access to database or any other resources or informations.
  Author:
    bmalkow

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `JID` | `getComponentID()`
    `String` | `getComponentVersion()` Returns version of component.
    `String` | `getDiscoCategory()` Returns category of component.
    `String` | `getDiscoCategoryType()` Returns type of component.
    `String` | `getDiscoDescription()` Returns human readable component name.
    `EventBus` | `getEventBus()` Returns `EventBus`.
    `ModuleProvider` | `getModuleProvider()` Returns `ModuleProvider`.
    `PacketWriter` | `getWriter()` Returns `PacketWriter`.

- - ### Method Detail

    - #### getComponentID

          JID getComponentID()

    - #### getComponentVersion

          String getComponentVersion()

      Returns version of component. Used for Service Discovery purposes.
      Returns:
        version of component.

    - #### getDiscoCategory

          String getDiscoCategory()

      Returns category of component. Used for Service Discovery purposes.
      Returns:
        category of component.

    - #### getDiscoCategoryType

          String getDiscoCategoryType()

      Returns type of component. Used for Service Discovery purposes.
      Returns:
        type of component.

    - #### getDiscoDescription

          String getDiscoDescription()

      Returns human readable component name. Used for Service Discovery purposes.
      Returns:
        name of component.

    - #### getEventBus

          EventBus getEventBus()

      Returns `EventBus`.
      Returns:
        `EventBus` instance.

    - #### getModuleProvider

          ModuleProvider getModuleProvider()

      Returns `ModuleProvider`.
      Returns:
        `ModuleProvider` instance.

    - #### getWriter

          PacketWriter getWriter()

      Returns `PacketWriter`.
      Returns:
        `PacketWriter` instance.

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