Class BootstrapOnlyProxyFactoryFactoryInitiator

java.lang.Object
io.quarkus.hibernate.orm.runtime.customized.BootstrapOnlyProxyFactoryFactoryInitiator
All Implemented Interfaces:
org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.bytecode.spi.ProxyFactoryFactory>, org.hibernate.service.spi.ServiceInitiator<org.hibernate.bytecode.spi.ProxyFactoryFactory>

public final class BootstrapOnlyProxyFactoryFactoryInitiator extends Object implements org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.bytecode.spi.ProxyFactoryFactory>
We need a different implementation of ProxyFactoryFactory during the build than at runtime, so to allow metadata validation. This implementation is then swapped after the metadata has been recorded.
See Also:
  • Field Details

    • INSTANCE

      public static final org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.bytecode.spi.ProxyFactoryFactory> INSTANCE
      Singleton access
  • Constructor Details

    • BootstrapOnlyProxyFactoryFactoryInitiator

      public BootstrapOnlyProxyFactoryFactoryInitiator()
  • Method Details

    • initiateService

      public org.hibernate.bytecode.spi.ProxyFactoryFactory initiateService(Map configurationValues, org.hibernate.service.spi.ServiceRegistryImplementor registry)
      Specified by:
      initiateService in interface org.hibernate.boot.registry.StandardServiceInitiator<org.hibernate.bytecode.spi.ProxyFactoryFactory>
    • getServiceInitiated

      public Class<org.hibernate.bytecode.spi.ProxyFactoryFactory> getServiceInitiated()
      Specified by:
      getServiceInitiated in interface org.hibernate.service.spi.ServiceInitiator<org.hibernate.bytecode.spi.ProxyFactoryFactory>