Class PersistenceUnitBinder
java.lang.Object
org.glassfish.jersey.internal.inject.AbstractBinder
org.glassfish.jersey.servlet.internal.PersistenceUnitBinder
- All Implemented Interfaces:
Binder
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
Modifier and TypeMethodDescriptionprotected voidImplement to provide binding definitions using the exposed binding methods.Methods inherited from class org.glassfish.jersey.internal.inject.AbstractBinder
bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, 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()Description copied from class:AbstractBinderImplement to provide binding definitions using the exposed binding methods.- Specified by:
configurein classAbstractBinder
-