Class 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:
    QuarkusRuntimeProxyFactoryFactory
    • Field Detail

      • INSTANCE

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

      • BootstrapOnlyProxyFactoryFactoryInitiator

        public BootstrapOnlyProxyFactoryFactoryInitiator()
    • Method Detail

      • 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>