ooc
Class InstanceInjectorChildInstances

java.lang.Object
  extended byooc.InstanceInjectorAbstract
      extended byooc.InstanceInjectorChildInstances
All Implemented Interfaces:
InstanceInjector
Direct Known Subclasses:
InstanceInjectorChildTemplates

public class InstanceInjectorChildInstances
extends InstanceInjectorAbstract


Constructor Summary
InstanceInjectorChildInstances()
           
 
Method Summary
 java.lang.String getDependencyMethodName()
           
 java.lang.String getMethodName()
           
 void inject(java.lang.Object targetInstance, Tag targetTag, Tag injectorTag, Dependencies dependencies)
          Injects the instance into the tag instance.
 void setDependencyMethodName(java.lang.String dependencyMethodName)
           
 void setMaxInjectionCount(java.lang.Integer mic)
           
 void setMethodName(java.lang.String methodName)
           
 void setTags(java.util.List tags)
           
 boolean validate(java.lang.Class targetClass, Tag targetTag, Tag injectorTag, Dependencies dependencies, TagErrorHandler teh)
          Validate that injection is possible.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceInjectorChildInstances

public InstanceInjectorChildInstances()
Method Detail

setDependencyMethodName

public void setDependencyMethodName(java.lang.String dependencyMethodName)

getDependencyMethodName

public java.lang.String getDependencyMethodName()

setMethodName

public void setMethodName(java.lang.String methodName)

getMethodName

public java.lang.String getMethodName()

setTags

public void setTags(java.util.List tags)

setMaxInjectionCount

public void setMaxInjectionCount(java.lang.Integer mic)

validate

public boolean validate(java.lang.Class targetClass,
                        Tag targetTag,
                        Tag injectorTag,
                        Dependencies dependencies,
                        TagErrorHandler teh)
Description copied from interface: InstanceInjector
Validate that injection is possible.


inject

public void inject(java.lang.Object targetInstance,
                   Tag targetTag,
                   Tag injectorTag,
                   Dependencies dependencies)
Description copied from interface: InstanceInjector
Injects the instance into the tag instance.