Intercept creation of java-config beans.