Java 类org.hibernate.service.spi.ServiceContributor 实例源码

项目:lams    文件:StandardServiceRegistryBuilder.java   
private void applyServiceContributors() {
    final LinkedHashSet<ServiceContributor> serviceContributors =
            bootstrapServiceRegistry.getService( ClassLoaderService.class )
                    .loadJavaServices( ServiceContributor.class );

    for ( ServiceContributor serviceContributor : serviceContributors ) {
        serviceContributor.contribute( this );
    }
}