Skip navigation links
A C D E G I N P R S U 

A

addJarFileUrls(URL, URL...) - Method in interface com.scottescue.dropwizard.entitymanager.PersistenceUnitConfig
Specifies URLs for any jar files or exploded jar file directories that the persistence provider must examine for managed classes of the persistence unit.
addMappingFileNames(String, String...) - Method in interface com.scottescue.dropwizard.entitymanager.PersistenceUnitConfig
Specifies any mapping files that must be loaded to determine the mappings for the entity classes.

C

com.scottescue.dropwizard.entitymanager - package com.scottescue.dropwizard.entitymanager
 
configure(Hibernate5Module) - Method in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
Override to configure Jackson's Hibernate5Module.
configure(PersistenceUnitConfig) - Method in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
Override to configure the JPA persistence unit.
create(Class<T>) - Method in class com.scottescue.dropwizard.entitymanager.UnitOfWorkAwareProxyFactory
Creates a new @UnitOfWork aware proxy of a class with the default constructor.
create(Class<T>, Class<?>, Object) - Method in class com.scottescue.dropwizard.entitymanager.UnitOfWorkAwareProxyFactory
Creates a new @UnitOfWork aware proxy of a class with an one-parameter constructor.
create(Class<T>, Class<?>[], Object[]) - Method in class com.scottescue.dropwizard.entitymanager.UnitOfWorkAwareProxyFactory
Creates a new @UnitOfWork aware proxy of a class with a complex constructor.

D

DEFAULT_NAME - Static variable in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
 

E

EntityManagerBundle<T extends io.dropwizard.Configuration> - Class in com.scottescue.dropwizard.entitymanager
A bundle for easily creating a JPA persistence unit.
EntityManagerBundle(Class<?>, Class<?>...) - Constructor for class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
 

G

getEntityManagerFactory() - Method in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
Returns the EntityManagerFactory built and configured when this bundle is bootstrapped.
getSharedEntityManager() - Method in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
Returns the managed, thread-safe EntityManager built and configured when this bundle is bootstrapped.

I

initialize(Bootstrap<?>) - Method in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
 
isSerializeLazyLoadedEntitiesEnabled() - Method in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
Returns a boolean value indicating whether or not serializing lazy loaded entity associations is enabled.

N

name() - Method in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
Override to configure the name of the bundle (It's used for the bundle health check and database pool metrics)

P

PersistenceUnitConfig - Interface in com.scottescue.dropwizard.entitymanager
Provides a means to configure the persistence unit before it is created.

R

run(T, Environment) - Method in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
 

S

ScanningEntityManagerBundle<T extends io.dropwizard.Configuration> - Class in com.scottescue.dropwizard.entitymanager
Extension of EntityManagerBundle that scans a given package for entities instead of requiring entities to be explicitly listed.
ScanningEntityManagerBundle(String, String...) - Constructor for class com.scottescue.dropwizard.entitymanager.ScanningEntityManagerBundle
 
setExcludeUnlistedClasses(boolean) - Method in interface com.scottescue.dropwizard.entitymanager.PersistenceUnitConfig
Specifies whether classes in the root of the persistence unit that have not been explicitly listed are to be included in the set of managed classes.
setProperty(String, String) - Method in interface com.scottescue.dropwizard.entitymanager.PersistenceUnitConfig
Specifies a property value to be used by the persistence provider for the persistence unit.
setSerializeLazyLoadedEntitiesEnabled(boolean) - Method in class com.scottescue.dropwizard.entitymanager.EntityManagerBundle
Enables or disables serializing lazy loaded entity associations as determined by the given value.
setSharedCacheMode(SharedCacheMode) - Method in interface com.scottescue.dropwizard.entitymanager.PersistenceUnitConfig
Specifies how the provider must use a second-level cache for the persistence unit.
setValidationMode(ValidationMode) - Method in interface com.scottescue.dropwizard.entitymanager.PersistenceUnitConfig
Specifies the validation mode to be used by the persistence provider for the persistence unit.

U

UnitOfWork - Annotation Type in com.scottescue.dropwizard.entitymanager
When annotating a Jersey resource method, makes a Hibernate EntityManager available to the method's execution context (thread).
UnitOfWorkAwareProxyFactory - Class in com.scottescue.dropwizard.entitymanager
A factory for creating proxies for components that use @UnitOfWork annotations outside Jersey resources.
UnitOfWorkAwareProxyFactory(String, EntityManagerFactory) - Constructor for class com.scottescue.dropwizard.entitymanager.UnitOfWorkAwareProxyFactory
 
UnitOfWorkAwareProxyFactory(EntityManagerBundle<?>...) - Constructor for class com.scottescue.dropwizard.entitymanager.UnitOfWorkAwareProxyFactory
 
A C D E G I N P R S U 
Skip navigation links

Copyright © 2016. All rights reserved.