Class QuarkusJndiService
java.lang.Object
io.quarkus.hibernate.orm.runtime.customized.QuarkusJndiService
- All Implemented Interfaces:
Serializable
,org.hibernate.engine.jndi.spi.JndiService
,org.hibernate.service.Service
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 Summary
-
Method Summary
-
Constructor Details
-
QuarkusJndiService
QuarkusJndiService()
-
-
Method Details
-
locate
- Specified by:
locate
in interfaceorg.hibernate.engine.jndi.spi.JndiService
-
bind
- Specified by:
bind
in interfaceorg.hibernate.engine.jndi.spi.JndiService
-
unbind
- Specified by:
unbind
in interfaceorg.hibernate.engine.jndi.spi.JndiService
-
addListener
- Specified by:
addListener
in interfaceorg.hibernate.engine.jndi.spi.JndiService
-