org.wamblee.inject
Interface InjectorFactory


public interface InjectorFactory

The injector factory is responsible for creating injectors for a given class. This must be implemneted to interface to specific dependency injection frameworks or for testing. Implementations of this class must have a default no-arg constructor to be usable by InjectorBuilder.

Author:
Erik Brakkee

Method Summary
 Injector create(java.lang.Class aClass)
          Creates an injector.
 

Method Detail

create

Injector create(java.lang.Class aClass)
Creates an injector.

Returns:
Injector fot he given class.
Throws:
java.lang.IllegalArgumentException - In case the given class cannot be used.


Copyright © 2022. All Rights Reserved.