AutoClassFileTransformer would be a SPI usable from the component itself.
WARNING: this is highly experimental for now.