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.AbstractBinderPersistence unitinjection binder.- Author:
- Michal Gajdos
-
-
Field Summary
Fields Modifier and Type Field Description static StringPERSISTENCE_UNIT_PREFIXPrefix of the persistence unit init param.
-
Constructor Summary
Constructors Constructor Description PersistenceUnitBinder(jakarta.servlet.ServletConfig servletConfig)Creates a new binder forPersistenceUnitBinder.PersistenceUnitInjectionResolver.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()Implement to provide binding definitions using the exposed binding methods.
-
-
-
Field Detail
-
PERSISTENCE_UNIT_PREFIX
public static final String PERSISTENCE_UNIT_PREFIX
Prefix of the persistence unit init param.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PersistenceUnitBinder
public PersistenceUnitBinder(jakarta.servlet.ServletConfig servletConfig)
Creates a new binder forPersistenceUnitBinder.PersistenceUnitInjectionResolver.- Parameters:
servletConfig- servlet config to find persistence units.
-
-