Package | Description |
---|---|
org.hibernate.metamodel |
NOTE: This package is currently unfinished and therefore considered experimental and unsupported.
|
org.hibernate.metamodel.source | |
org.hibernate.metamodel.source.annotations | |
org.hibernate.metamodel.source.hbm | |
org.hibernate.metamodel.source.internal | |
org.hibernate.testing.junit4 |
Modifier and Type | Method and Description |
---|---|
MetadataSources |
MetadataSources.addAnnotatedClass(Class annotatedClass)
Read metadata from the annotations attached to the given class.
|
MetadataSources |
MetadataSources.addCacheableFile(File file)
Add a cached mapping file.
|
MetadataSources |
MetadataSources.addCacheableFile(String path)
See
addCacheableFile(java.io.File) for description |
MetadataSources |
MetadataSources.addClass(Class entityClass)
Read a mapping as an application resource using the convention that a class named
foo.bar.Foo is
mapped by a file named foo/bar/Foo.hbm.xml which can be resolved as a classpath resource. |
MetadataSources |
MetadataSources.addDirectory(File dir)
Read all mapping documents from a directory tree.
|
MetadataSources |
MetadataSources.addDocument(Document document)
Read mappings from a DOM
Document |
MetadataSources |
MetadataSources.addFile(File file)
Read mappings from a particular XML file
|
MetadataSources |
MetadataSources.addFile(String path)
Read mappings from a particular XML file
|
MetadataSources |
MetadataSources.addInputStream(InputStream xmlInputStream)
Read metadata from an
InputStream . |
MetadataSources |
MetadataSources.addJar(File jar)
Read all mappings from a jar file.
|
MetadataSources |
MetadataSources.addPackage(String packageName)
Read package-level metadata.
|
MetadataSources |
MetadataSources.addResource(String name)
Read mappings as a application resourceName (i.e.
|
MetadataSources |
MetadataSources.addURL(URL url)
Read mappings from a
URL |
Modifier and Type | Method and Description |
---|---|
void |
MetadataSourceProcessor.prepare(MetadataSources sources)
Prepare for processing the given sources.
|
void |
MetadataSourceProcessor.processIndependentMetadata(MetadataSources sources)
Process the independent metadata.
|
void |
MetadataSourceProcessor.processMappingDependentMetadata(MetadataSources sources)
Process the parts of the metadata that depend on mapping (entities, et al) information having been
processed and available.
|
void |
MetadataSourceProcessor.processMappingMetadata(MetadataSources sources,
List<String> processedEntityNames)
Process the mapping (entities, et al) metadata.
|
void |
MetadataSourceProcessor.processTypeDependentMetadata(MetadataSources sources)
Process the parts of the metadata that depend on type information (type definitions) having been processed
and available.
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationMetadataSourceProcessorImpl.prepare(MetadataSources sources) |
void |
AnnotationMetadataSourceProcessorImpl.processIndependentMetadata(MetadataSources sources) |
void |
AnnotationMetadataSourceProcessorImpl.processMappingDependentMetadata(MetadataSources sources) |
void |
AnnotationMetadataSourceProcessorImpl.processMappingMetadata(MetadataSources sources,
List<String> processedEntityNames) |
void |
AnnotationMetadataSourceProcessorImpl.processTypeDependentMetadata(MetadataSources sources) |
Modifier and Type | Method and Description |
---|---|
void |
HbmMetadataSourceProcessorImpl.prepare(MetadataSources sources) |
void |
HbmMetadataSourceProcessorImpl.processIndependentMetadata(MetadataSources sources) |
void |
HbmMetadataSourceProcessorImpl.processMappingDependentMetadata(MetadataSources sources) |
void |
HbmMetadataSourceProcessorImpl.processMappingMetadata(MetadataSources sources,
List<String> processedEntityNames) |
void |
HbmMetadataSourceProcessorImpl.processTypeDependentMetadata(MetadataSources sources) |
Constructor and Description |
---|
JaxbHelper(MetadataSources metadataSources) |
MetadataBuilderImpl(MetadataSources sources) |
MetadataBuilderImpl(MetadataSources sources,
StandardServiceRegistry serviceRegistry) |
MetadataImpl(MetadataSources metadataSources,
Metadata.Options options) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseCoreFunctionalTestCase.addMappings(MetadataSources sources) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.