de.akquinet.jbosscc.needle.postconstruct
Class PostConstructProcessor
java.lang.Object
de.akquinet.jbosscc.needle.postconstruct.PostConstructProcessor
public class PostConstructProcessor
- extends Object
Handles execution of postConstruction methods of instances marked with
ObjectUnderTest.postConstruct()
Note: Behavior in an inheritance hierarchy is not defined by the common
annotations specification
- Author:
- Jan Galinski, Holisticon AG (jan.galinski@holisticon.de), Heinz Wilming, akquinet AG (heinz.wilming@akquinet.de)
|
Method Summary |
void |
process(ObjectUnderTest objectUnderTestAnnotation,
Object instance)
calls process(instance) only if field is marked with |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostConstructProcessor
public PostConstructProcessor(Set<Class<?>> postConstructAnnotations)
process
public void process(ObjectUnderTest objectUnderTestAnnotation,
Object instance)
throws ObjectUnderTestInstantiationException
- calls process(instance) only if field is marked with
- Parameters:
objectUnderTestField - instance -
- Throws:
ObjectUnderTestInstantiationException
Copyright © 2013 akquinet AG. All Rights Reserved.