I assume that one way would be to declare a type installer Booleanand let it assign a value to the type field Boolean, i.e.
boolean initializationCache;
@Resource(name = "initializationCache")
public void setInitializationCache(Boolean b) {
this.initializationCache = b;
}
I have not tested it yet.
source
share