public interface InitializeIf
If an If, ?> condition class implements this interface, it will be called once just after construction. This is a poor-man's injection system.
Modifier and Type | Method and Description |
---|---|
void |
init(ObjectifyFactory fact,
Class<?> concreteClass,
Field field)
Instructs the condition instance which field it lives on.
|
void init(ObjectifyFactory fact, Class<?> concreteClass, Field field)
fact
- is just handy to have aroundconcreteClass
- is the class that was registered when the field was discoveredfield
- is the field which has the annotation with this condition. The declaring class of
the field might be different from the concreteClass if the field was declared on a superclass.Copyright © 2013. All Rights Reserved.