ooc
Class InstanceConstructorInjector

java.lang.Object
  extended byooc.InstanceConstructorAbstract
      extended byooc.InstanceConstructorReflection
          extended byooc.InstanceConstructorInjector
All Implemented Interfaces:
InstanceConstructor
Direct Known Subclasses:
InstanceConstructorInjectorSetup

public class InstanceConstructorInjector
extends InstanceConstructorReflection


Constructor Summary
InstanceConstructorInjector()
           
 
Method Summary
 void afterWork(Tag tag, java.lang.Object instance, Dependencies dependencies)
           
 boolean validate(java.lang.Class tagClass, Tag tag, Tag constructorTag, Dependencies dependencies, TagErrorHandler teh)
          Validate given tag instance for construction.
 
Methods inherited from class ooc.InstanceConstructorReflection
constructReference
 
Methods inherited from class ooc.InstanceConstructorAbstract
constructInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceConstructorInjector

public InstanceConstructorInjector()
Method Detail

validate

public boolean validate(java.lang.Class tagClass,
                        Tag tag,
                        Tag constructorTag,
                        Dependencies dependencies,
                        TagErrorHandler teh)
Description copied from interface: InstanceConstructor
Validate given tag instance for construction. Returns true if a tag instance can be constructed using this instance constructer and the given tag, else false.

Specified by:
validate in interface InstanceConstructor
Overrides:
validate in class InstanceConstructorReflection

afterWork

public void afterWork(Tag tag,
                      java.lang.Object instance,
                      Dependencies dependencies)
Overrides:
afterWork in class InstanceConstructorReflection