Adapter is necessary as opposed to having ParserContext implement ComponentRegistrar directly due to tooling issues.
TODO SPR-7420: document