Class PersistenceUnitBinder
java.lang.Object
org.glassfish.jersey.internal.inject.AbstractBinder
org.glassfish.jersey.servlet.internal.PersistenceUnitBinder
- All Implemented Interfaces:
org.glassfish.jersey.internal.inject.Binder
public class PersistenceUnitBinder
extends org.glassfish.jersey.internal.inject.AbstractBinder
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 void
Implement 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:org.glassfish.jersey.internal.inject.AbstractBinder
Implement to provide binding definitions using the exposed binding methods.- Specified by:
configure
in classorg.glassfish.jersey.internal.inject.AbstractBinder
-