public class AnnotationMetadataSourceProcessorImpl extends Object implements MetadataSourceProcessor
Constructor and Description |
---|
AnnotationMetadataSourceProcessorImpl(ManagedResources managedResources,
MetadataBuildingContextRootImpl rootMetadataBuildingContext,
org.jboss.jandex.IndexView jandexView) |
Modifier and Type | Method and Description |
---|---|
void |
finishUp()
General finish up step.
|
void |
postProcessEntityHierarchies() |
void |
prepare()
A general preparation step.
|
void |
prepareForEntityHierarchyProcessing() |
void |
processAuxiliaryDatabaseObjectDefinitions()
Process all
AuxiliaryDatabaseObject definitions. |
void |
processEntityHierarchies(Set<String> processedEntityNames) |
void |
processFetchProfiles()
Process all fetch profiles.
|
void |
processFilterDefinitions()
Process all filter definitions.
|
void |
processIdentifierGenerators()
Process all custom identifier generator declarations,
Depends on
MetadataSourceProcessor.processTypeDefinitions() |
void |
processNamedQueries()
Process all "root" named queries.
|
void |
processQueryRenames()
Process all explicit query renames (imports).
|
void |
processResultSetMappings()
Process ResultSet mappings for native queries.
|
void |
processTypeDefinitions()
Process all custom Type definitions.
|
public AnnotationMetadataSourceProcessorImpl(ManagedResources managedResources, MetadataBuildingContextRootImpl rootMetadataBuildingContext, org.jboss.jandex.IndexView jandexView)
public void prepare()
MetadataSourceProcessor
prepare
in interface MetadataSourceProcessor
public void processTypeDefinitions()
MetadataSourceProcessor
processTypeDefinitions
in interface MetadataSourceProcessor
public void processQueryRenames()
MetadataSourceProcessor
processQueryRenames
in interface MetadataSourceProcessor
public void processNamedQueries()
MetadataSourceProcessor
MetadataSourceProcessor.processEntityHierarchies(java.util.Set<java.lang.String>)
.
This step has no prerequisites. The returns associated with named native
queries can depend on entity binding being complete, but those are handled
later during MetadataSourceProcessor.processResultSetMappings()
.processNamedQueries
in interface MetadataSourceProcessor
public void processAuxiliaryDatabaseObjectDefinitions()
MetadataSourceProcessor
AuxiliaryDatabaseObject
definitions.
This step has no prerequisites.processAuxiliaryDatabaseObjectDefinitions
in interface MetadataSourceProcessor
public void processIdentifierGenerators()
MetadataSourceProcessor
MetadataSourceProcessor.processTypeDefinitions()
processIdentifierGenerators
in interface MetadataSourceProcessor
public void processFilterDefinitions()
MetadataSourceProcessor
MetadataSourceProcessor.processTypeDefinitions()
processFilterDefinitions
in interface MetadataSourceProcessor
public void processFetchProfiles()
MetadataSourceProcessor
processFetchProfiles
in interface MetadataSourceProcessor
public void prepareForEntityHierarchyProcessing()
prepareForEntityHierarchyProcessing
in interface MetadataSourceProcessor
public void processEntityHierarchies(Set<String> processedEntityNames)
processEntityHierarchies
in interface MetadataSourceProcessor
public void postProcessEntityHierarchies()
postProcessEntityHierarchies
in interface MetadataSourceProcessor
public void processResultSetMappings()
MetadataSourceProcessor
MetadataSourceProcessor.processEntityHierarchies(java.util.Set<java.lang.String>)
as a prerequisite because
the parsing of the returns access the entity bindings.processResultSetMappings
in interface MetadataSourceProcessor
public void finishUp()
MetadataSourceProcessor
finishUp
in interface MetadataSourceProcessor
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.