org.wamblee.inject
Interface Injector

All Known Implementing Classes:
SimpleInjector

public interface Injector

Interface used to perform injection with. An injector instance knows how to perform injection in one or more specific classes.

Author:
Erik Brakkee

Method Summary
 void inject(java.lang.Object aComponent)
          Injects beans into a given component of the required class.
 

Method Detail

inject

void inject(java.lang.Object aComponent)
Injects beans into a given component of the required class.

Parameters:
aComponent - Component to inject into.
Throws:
java.lang.IllegalArgumentException - In case the argument passed is not supported for injection
java.lang.NullPointerException - In case the argument passed is null.


Copyright © 2022. All Rights Reserved.