Class QuarkusJndiService

  • All Implemented Interfaces:
    Serializable, org.hibernate.engine.jndi.spi.JndiService, org.hibernate.service.Service

    final class QuarkusJndiService
    extends Object
    implements org.hibernate.engine.jndi.spi.JndiService
    Intentionally implementing these methods as no-op: some Hibernate ORM internal components currently require being able to attempt a lookup even when JNDI is not being used. Since we don't use JNDI in Quarkus we might as well short-circuit these as an additional precaution. In future versions of Hibernate ORM we might be able to throw an exception instead.
    • Constructor Detail

      • QuarkusJndiService

        QuarkusJndiService()
    • Method Detail

      • locate

        public Object locate​(String jndiName)
        Specified by:
        locate in interface org.hibernate.engine.jndi.spi.JndiService
      • bind

        public void bind​(String jndiName,
                         Object value)
        Specified by:
        bind in interface org.hibernate.engine.jndi.spi.JndiService
      • unbind

        public void unbind​(String jndiName)
        Specified by:
        unbind in interface org.hibernate.engine.jndi.spi.JndiService
      • addListener

        public void addListener​(String jndiName,
                                NamespaceChangeListener listener)
        Specified by:
        addListener in interface org.hibernate.engine.jndi.spi.JndiService