Maybe an annotation? Might need to refer to bean instances (c.f. interceptors and listeners in `@Retryable` or Spring Batch).