code review...

Make sure that in the lifecycle, this happens only once. Regardless, the reflection part should be moved to the construction phase, it will provide a much better fail-fast mechanism.