org.hibernate.boot.MetadataSources
reference into a org.hibernate.boot.Metadata reference. Allows for 2 different process paradigms:build method; internally leverages the 2-step paradigm
org.hibernate.boot.Metadata . A hugely important distinction in the need for the
steps is that the first phase should strive to not load user entity/component classes so that we can still
perform enhancement on them later. This approach caters to the 2-phase bootstrap we use in regards
to WildFly Hibernate-JPA integration. The first step is defined by prepare which returns
a ManagedResources instance. The second step is defined by calling
complete
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static MetadataImplementor | Returns: The built MetadataThe MetadataSources sources, final BootstrapContext bootstrapContext, final MetadataBuildingOptions The building options options)Unified single phase for MetadataSources->Metadata process |
| public static MetadataImplementor | Returns: Token/memento representing all known users resources (classes, packages, mapping files, etc).The token/memento from 1st phase managedResources, final BootstrapContext bootstrapContext, final MetadataBuildingOptions The building options options)Second step of 2-phase for MetadataSources->Metadata process |
| private static void | |
| public static ManagedResources | Returns: Token/memento representing all known users resources (classes, packages, mapping files, etc).The MetadataSources sources, final BootstrapContext The bootstrapContext bootstrapContext)First step of 2-phase for MetadataSources->Metadata process |
| log | back to summary |
|---|---|
| private static final Logger log | |
| MetadataBuildingProcess | back to summary |
|---|---|
| public MetadataBuildingProcess() | |
| build | back to summary |
|---|---|
| public static MetadataImplementor build(final MetadataSources sources, final BootstrapContext bootstrapContext, final MetadataBuildingOptions options) Unified single phase for MetadataSources->Metadata process
| |
| complete | back to summary |
|---|---|
| public static MetadataImplementor complete(final ManagedResources managedResources, final BootstrapContext bootstrapContext, final MetadataBuildingOptions options) Second step of 2-phase for MetadataSources->Metadata process
| |
| handleTypes | back to summary |
|---|---|
| private static void handleTypes(BootstrapContext bootstrapContext, MetadataBuildingOptions options) | |
| prepare | back to summary |
|---|---|
| public static ManagedResources prepare(final MetadataSources sources, final BootstrapContext bootstrapContext) First step of 2-phase for MetadataSources->Metadata process
| |