public class PersistenceUnitBinder extends org.glassfish.jersey.internal.inject.AbstractBinder
Persistence unit
injection binder.Modifier and Type | Field and Description |
---|---|
static String |
PERSISTENCE_UNIT_PREFIX
Prefix of the persistence unit init param.
|
Constructor and Description |
---|
PersistenceUnitBinder(javax.servlet.ServletConfig servletConfig)
Creates a new binder for
PersistenceUnitInjectionResolver . |
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Implement to provide binding definitions using the exposed binding methods.
|
bind, bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, createManagedInstanceProvider, getBindings, install
public static final String PERSISTENCE_UNIT_PREFIX
public PersistenceUnitBinder(javax.servlet.ServletConfig servletConfig)
PersistenceUnitInjectionResolver
.servletConfig
- servlet config to find persistence units.protected void configure()
org.glassfish.jersey.internal.inject.AbstractBinder
configure
in class org.glassfish.jersey.internal.inject.AbstractBinder
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.