Package tigase.kernel.beans

## Interface BeanFactory<T>

- Type Parameters:
    `T` - type of created bean.

      public interface BeanFactory<T>

  Interface to create factories of beans.
  Factory is responsible to create instance of bean and inject all dependencies!

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `createInstance()` | Create instance of bean.

- - ### Method Detail

    - #### createInstance

          T createInstance()
                    throws KernelException

      Create instance of bean.

      Remember, that dependencies will not be injected to this bean. Factory must do that!

      Returns:
        instancje of bean.
      Throws:
        `KernelException` - when something goes wrong.