Uses of Class
org.hibernate.boot.MetadataSources
-
Packages that use MetadataSources Package Description org.hibernate.boot This package contains the interfaces that make up the bootstrap API for Hibernate.org.hibernate.boot.cfgxml.spi An SPI service for processing and handlingcfg.xmlfiles.org.hibernate.boot.internal org.hibernate.boot.model.process.internal org.hibernate.boot.model.process.spi Defines an SPI used during the process of transforming mapping sources into theMetadatareference.org.hibernate.boot.spi A range of SPIs allowing integration with—and customization of—the process of building metadata.org.hibernate.cfg This package defines APIs for configuring Hibernate.org.hibernate.testing.junit4 org.hibernate.testing.orm.domain org.hibernate.testing.orm.domain.animal Standard model for Hibernate's legacy Animal model used in HQL testingorg.hibernate.testing.orm.domain.contacts org.hibernate.testing.orm.domain.retail org.hibernate.testing.orm.junit -
-
Uses of MetadataSources in org.hibernate.boot
Methods in org.hibernate.boot that return MetadataSources Modifier and Type Method Description MetadataSourcesMetadataSources. addAnnotatedClass(Class<?> annotatedClass)Read metadata from the annotations attached to the given class.MetadataSourcesMetadataSources. addAnnotatedClasses(Class<?>... annotatedClasses)Vararg form ofaddAnnotatedClass(Class).MetadataSourcesMetadataSources. addAnnotatedClassName(String annotatedClassName)Read metadata from the annotations attached to the given class.MetadataSourcesMetadataSources. addAnnotatedClassNames(String... annotatedClassNames)Vararg form ofaddAnnotatedClassName(String).MetadataSourcesMetadataSources. addCacheableFile(File file)Add a cached mapping file.MetadataSourcesMetadataSources. addCacheableFile(File file, File cacheDirectory)Add a cached mapping file.MetadataSourcesMetadataSources. addCacheableFile(String path)Add acached mapping file.MetadataSourcesMetadataSources. addCacheableFile(String path, File cacheDirectory)Add acached mapping file.MetadataSourcesMetadataSources. addCacheableFileStrictly(File file)INTENDED FOR TESTSUITE USE ONLY!MetadataSourcesMetadataSources. addCacheableFileStrictly(File file, File cacheDir)INTENDED FOR TESTSUITE USE ONLY!MetadataSourcesMetadataSources. addDirectory(File dir)Read all.hbm.xmlmapping documents from a directory tree.MetadataSourcesMetadataSources. addFile(File file)Read mappings from a particular XML file.MetadataSourcesMetadataSources. addFile(String path)Read mappings from a particular XML file.MetadataSourcesMetadataSources. addInputStream(InputStream xmlInputStream)Read metadata from anInputStream.MetadataSourcesMetadataSources. addInputStream(InputStreamAccess xmlInputStreamAccess)Read metadata from anInputStreamaccessMetadataSourcesMetadataSources. addJar(File jar)Read all.hbm.xmlmappings from a jar file.MetadataSourcesMetadataSources. addPackage(Package packageRef)Read package-level metadata.MetadataSourcesMetadataSources. addPackage(String packageName)Read package-level metadata.MetadataSourcesMetadataSources. addQueryImport(String importedName, Class<?> target)MetadataSourcesMetadataSources. addResource(String name)Read mappings as an application resourceName (i.e.MetadataSourcesMetadataSources. addURL(URL url)Read mappings from aURLMetadataSourcesMetadataSources. addXmlBinding(Binding<?> binding)Add XML mapping bindings created from an arbitrary source by the binder. -
Uses of MetadataSources in org.hibernate.boot.cfgxml.spi
Methods in org.hibernate.boot.cfgxml.spi with parameters of type MetadataSources Modifier and Type Method Description voidMappingReference. apply(MetadataSources metadataSources) -
Uses of MetadataSources in org.hibernate.boot.internal
Constructors in org.hibernate.boot.internal with parameters of type MetadataSources Constructor Description MetadataBuilderImpl(MetadataSources sources)MetadataBuilderImpl(MetadataSources sources, StandardServiceRegistry serviceRegistry) -
Uses of MetadataSources in org.hibernate.boot.model.process.internal
Methods in org.hibernate.boot.model.process.internal with parameters of type MetadataSources Modifier and Type Method Description static ManagedResourcesImplManagedResourcesImpl. baseline(MetadataSources sources, BootstrapContext bootstrapContext) -
Uses of MetadataSources in org.hibernate.boot.model.process.spi
Methods in org.hibernate.boot.model.process.spi with parameters of type MetadataSources Modifier and Type Method Description static MetadataImplementorMetadataBuildingProcess. build(MetadataSources sources, BootstrapContext bootstrapContext, MetadataBuildingOptions options)Unified single phase for MetadataSources to Metadata processstatic ManagedResourcesMetadataBuildingProcess. prepare(MetadataSources sources, BootstrapContext bootstrapContext)First step of two-phase for MetadataSources to Metadata process -
Uses of MetadataSources in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi with parameters of type MetadataSources Modifier and Type Method Description voidMetadataSourcesContributor. contribute(MetadataSources metadataSources)Perform the process of contributing to theMetadataSources.MetadataBuilderImplementorMetadataBuilderFactory. getMetadataBuilder(MetadataSources metadatasources, MetadataBuilderImplementor defaultBuilder)Creates aMetadataBuilderImplementor. -
Uses of MetadataSources in org.hibernate.cfg
Constructors in org.hibernate.cfg with parameters of type MetadataSources Constructor Description Configuration(MetadataSources metadataSources)Create a new instance, using the givenMetadataSources, and aBootstrapServiceRegistryobtained from theMetadataSources. -
Uses of MetadataSources in org.hibernate.testing.junit4
Methods in org.hibernate.testing.junit4 with parameters of type MetadataSources Modifier and Type Method Description protected voidBaseNonConfigCoreFunctionalTestCase. afterMetadataSourcesApplied(MetadataSources metadataSources)protected voidBaseNonConfigCoreFunctionalTestCase. applyMetadataSources(MetadataSources sources) -
Uses of MetadataSources in org.hibernate.testing.orm.domain
Methods in org.hibernate.testing.orm.domain with parameters of type MetadataSources Modifier and Type Method Description voidAbstractDomainModelDescriptor. applyDomainModel(MetadataSources sources)voidDomainModelDescriptor. applyDomainModel(MetadataSources sources)Apply the model classes to the given MetadataSources -
Uses of MetadataSources in org.hibernate.testing.orm.domain.animal
Methods in org.hibernate.testing.orm.domain.animal with parameters of type MetadataSources Modifier and Type Method Description static voidAnimalDomainModel. applyContactsModel(MetadataSources sources) -
Uses of MetadataSources in org.hibernate.testing.orm.domain.contacts
Methods in org.hibernate.testing.orm.domain.contacts with parameters of type MetadataSources Modifier and Type Method Description static voidContactsDomainModel. applyContactsModel(MetadataSources sources) -
Uses of MetadataSources in org.hibernate.testing.orm.domain.retail
Methods in org.hibernate.testing.orm.domain.retail with parameters of type MetadataSources Modifier and Type Method Description static voidRetailDomainModel. applyRetailModel(MetadataSources sources) -
Uses of MetadataSources in org.hibernate.testing.orm.junit
Methods in org.hibernate.testing.orm.junit with parameters of type MetadataSources Modifier and Type Method Description protected voidBaseSessionFactoryFunctionalTest. applyMetadataSources(MetadataSources metadataSources)
-