Codota Logo
MetadataBuilderImpl.applyCfgXmlValues
Code IndexAdd Codota to your IDE (free)

How to use
applyCfgXmlValues
method
in
org.hibernate.boot.internal.MetadataBuilderImpl

Best Java code snippets using org.hibernate.boot.internal.MetadataBuilderImpl.applyCfgXmlValues (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate-orm

public MetadataBuilderImpl(MetadataSources sources, StandardServiceRegistry serviceRegistry) {
  this.sources = sources;
  this.options = new MetadataBuildingOptionsImpl( serviceRegistry );
  this.bootstrapContext = new BootstrapContextImpl( serviceRegistry, options );
  //this is needed only fro implementig deprecated method
  options.setBootstrapContext( bootstrapContext );
  for ( MetadataSourcesContributor contributor :
      sources.getServiceRegistry()
          .getService( ClassLoaderService.class )
          .loadJavaServices( MetadataSourcesContributor.class ) ) {
    contributor.contribute( sources );
  }
  // todo : not so sure this is needed anymore.
  //		these should be set during the StandardServiceRegistryBuilder.configure call
  applyCfgXmlValues( serviceRegistry.getService( CfgXmlAccessService.class ) );
  final ClassLoaderService classLoaderService = serviceRegistry.getService( ClassLoaderService.class );
  for ( MetadataBuilderInitializer contributor : classLoaderService.loadJavaServices( MetadataBuilderInitializer.class ) ) {
    contributor.contribute( this, serviceRegistry );
  }
}
origin: org.hibernate.orm/hibernate-core

public MetadataBuilderImpl(MetadataSources sources, StandardServiceRegistry serviceRegistry, ClassmateContext classmateContext) {
  this.sources = sources;
  this.options = new MetadataBuildingOptionsImpl( serviceRegistry );
  this.bootstrapContext = new BootstrapContextImpl( serviceRegistry, classmateContext, options );
  for ( MetadataSourcesContributor contributor :
      sources.getServiceRegistry()
          .getService( ClassLoaderService.class )
          .loadJavaServices( MetadataSourcesContributor.class ) ) {
    contributor.contribute( sources );
  }
  // todo : not so sure this is needed anymore.
  //		these should be set during the StandardServiceRegistryBuilder.configure call
  applyCfgXmlValues( serviceRegistry.getService( CfgXmlAccessService.class ) );
  final ClassLoaderService classLoaderService = serviceRegistry.getService( ClassLoaderService.class );
  for ( MetadataBuilderInitializer contributor : classLoaderService.loadJavaServices( MetadataBuilderInitializer.class ) ) {
    contributor.contribute( this, serviceRegistry );
  }
}
org.hibernate.boot.internalMetadataBuilderImplapplyCfgXmlValues

Popular methods of MetadataBuilderImpl

  • <init>
  • applyCacheRegionDefinition
  • getStandardServiceRegistry
  • allowSpecjSyntax
  • contributeJavaTypeDescriptor

Popular in Java

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • getSystemService (Context)
  • orElseThrow (Optional)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • JList (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now