juzu.inject

## Interface ProviderFactory

-     public interface ProviderFactory

  The provider factory is the main entry point for providing custom providers.

  Author:
    Julien Viet

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> javax.inject.Provider<? extends T>` | `getProvider(Class<T> implementationType)` Returns a provider for a specific type or null if it cannot be produced.

- - ### Method Detail

    - #### getProvider

          <T> javax.inject.Provider<? extends T> getProvider(Class<T> implementationType)
                                                         throws Exception

      Returns a provider for a specific type or null if it cannot be produced.
      Type Parameters:
        `T` - the implementation generic type
      Parameters:
        `implementationType` - the implementation class object
      Returns:
        a provider for this class or null
      Throws:
        `Exception` - any exception that would prevent to obtain the provider

Copyright © 2018 eXo Platform SAS. All rights reserved.