接口 TypeContributor


  • public interface TypeContributor
    Contract for contributing types.
    作者:
    Steve Ebersole NOTE: Cherry-pick of HHH-7998 from metamodel. For merging simplicity, just keep it in the o.h.metamodel.spi package.
    • 方法详细资料

      • contribute

        void contribute​(TypeContributions typeContributions,
                        ServiceRegistry serviceRegistry)
        Contribute types
        参数:
        typeContributions - The callback for adding contributed types
        serviceRegistry - The service registry