ooc
Class InstanceConstructorReflection

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

public class InstanceConstructorReflection
extends InstanceConstructorAbstract


Constructor Summary
InstanceConstructorReflection()
           
 
Method Summary
 void afterWork(Tag tag, java.lang.Object instance, Dependencies dependencies)
           
 java.lang.Object constructReference(Tag tag, 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.InstanceConstructorAbstract
constructInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceConstructorReflection

public InstanceConstructorReflection()
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.


constructReference

public java.lang.Object constructReference(Tag tag,
                                           Dependencies dependencies)
Specified by:
constructReference in class InstanceConstructorAbstract

afterWork

public void afterWork(Tag tag,
                      java.lang.Object instance,
                      Dependencies dependencies)
Specified by:
afterWork in class InstanceConstructorAbstract