|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wamblee.inject.Injectable
public abstract class Injectable
This abstract base class performs injection at construction. Be sure not to
initialize fields of derived classes to null as these will override the
initializations of this base class.
This class uses InjectorBuilder
to obtain an implementation of a
InjectorFactory
to use.
Constructor Summary | |
---|---|
protected |
Injectable()
Inheritance style constructor. |
Method Summary | |
---|---|
Injector |
getInjector()
Gets the default injector. |
void |
inject()
Inject references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Injectable()
Method Detail |
---|
public void inject()
public Injector getInjector()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |