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
    Modifier and Type
    Field
    Description
    static final String
    Prefix of the persistence unit init param.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PersistenceUnitBinder(jakarta.servlet.ServletConfig servletConfig)
    Creates a new binder for PersistenceUnitBinder.PersistenceUnitInjectionResolver.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PERSISTENCE_UNIT_PREFIX

      public static final String 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 for PersistenceUnitBinder.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 class org.glassfish.jersey.internal.inject.AbstractBinder