Class PersistenceUnitBinder
java.lang.Object
org.glassfish.jersey.innate.inject.BlindBinder
org.glassfish.jersey.innate.inject.InternalBinder
org.glassfish.jersey.servlet.internal.PersistenceUnitBinder
- All Implemented Interfaces:
Binder
public class PersistenceUnitBinder
extends org.glassfish.jersey.innate.inject.InternalBinder
Persistence unit injection binder.- Author:
- Michal Gajdos
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPersistenceUnitBinder(jakarta.servlet.ServletConfig servletConfig) Creates a new binder forPersistenceUnitBinder.PersistenceUnitInjectionResolver. -
Method Summary
Methods inherited from class org.glassfish.jersey.innate.inject.InternalBinder
bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactoryMethods inherited from class org.glassfish.jersey.innate.inject.BlindBinder
bind, createManagedInstanceProvider, getBindings, install
-
Field Details
-
PERSISTENCE_UNIT_PREFIX
Prefix of the persistence unit init param.- See Also:
-
-
Constructor Details
-
PersistenceUnitBinder
public PersistenceUnitBinder(jakarta.servlet.ServletConfig servletConfig) Creates a new binder forPersistenceUnitBinder.PersistenceUnitInjectionResolver.- Parameters:
servletConfig- servlet config to find persistence units.
-
-
Method Details
-
configure
protected void configure()- Specified by:
configurein classorg.glassfish.jersey.innate.inject.BlindBinder
-