All,

Maybe something I'm not clear about.  Suppose I have this type safe bean:

public class TypeSafeConfig {
    @Inject
    @Config("populated.value")
    private String populatedValue;

    public String getPopulatedValue() {
        return populatedValue;
    }
}

I was struggling for a while, because I forgot @Inject.  I just wanted to
check - this is required by CDI semantics, right?

If so, I almost wonder if it makes sense to automatically add a post
construct that populates the values.

John

Reply via email to