com.syrtsov.alinker.inject
Class DependencyInjector<T>
java.lang.Object
com.syrtsov.alinker.inject.DependencyInjector<T>
- All Implemented Interfaces:
- Initializer<T>
public class DependencyInjector<T>
- extends java.lang.Object
- implements Initializer<T>
psdo: add class comments
Created-By: Pavel Syrtsov
Date: Apr 10, 2008
Time: 10:41:27 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyInjector
public DependencyInjector()
init
public void init(ALinker aLinker,
Context<T> ctx,
T subj)
throws InitializerException
- Specified by:
init
in interface Initializer<T>
- Throws:
InitializerException
injectField
public static void injectField(ALinker aLinker,
java.lang.Object subj,
java.lang.reflect.Field field)
throws InitializerException
- Throws:
InitializerException
injectMethod
public static void injectMethod(ALinker aLinker,
java.lang.Object subj,
java.lang.reflect.Method method)
throws InitializerException
- Throws:
InitializerException
injectConstructor
public static java.lang.Object injectConstructor(ALinker aLinker,
java.lang.reflect.Constructor constructor)
throws InitializerException
- Throws:
InitializerException