Skip navigation links
A B C D E F G H I L M N O P R S T 

A

AbstractBean - Class in org.dellroad.stuff.spring
Generic support superclass for Spring beans.
AbstractBean() - Constructor for class org.dellroad.stuff.spring.AbstractBean
 
AbstractBeanDefinitionParser - Class in org.dellroad.stuff.spring
Support superclass for BeanDefinitionParser implementations.
AbstractBeanDefinitionParser() - Constructor for class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
 
AbstractDAO<T> - Class in org.dellroad.stuff.spring
Support superclass for JPA DAO implementations.
AbstractDAO(Class<T>) - Constructor for class org.dellroad.stuff.spring.AbstractDAO
Constructor.
AbstractDAO.DAOCriteriaListCallback - Class in org.dellroad.stuff.spring
Convenience subclass of CriteriaCallback for use by DAO subclasses when returning lists of persistent instances.
AbstractDAO.DAOCriteriaUniqueCallback - Class in org.dellroad.stuff.spring
Convenience subclass of CriteriaCallback for use by DAO subclasses when returning a single persistent instance.
AbstractDAO.DAOQueryListCallback - Class in org.dellroad.stuff.spring
Convenience subclass of QueryCallback for use by DAO subclasses when returning lists of persistent instances.
AbstractDAO.DAOQueryUniqueCallback - Class in org.dellroad.stuff.spring
Convenience subclass of QueryCallback for use by DAO subclasses when returning a single persistent instance.
AbstractSpringSchemaUpdate<T> - Class in org.dellroad.stuff.spring
Support superclass for SchemaUpdates declared in Spring BeanFactorys that infer their names and required predecessors from their Spring bean attributes.
AbstractSpringSchemaUpdate() - Constructor for class org.dellroad.stuff.spring.AbstractSpringSchemaUpdate
 
afterPropertiesSet() - Method in class org.dellroad.stuff.spring.AbstractBean
Initialize bean.
afterPropertiesSet() - Method in class org.dellroad.stuff.spring.AbstractDAO
 
afterPropertiesSet() - Method in class org.dellroad.stuff.spring.AbstractSpringSchemaUpdate
Configures the update name and required predecessors based on the Spring bean's name and BeanFactory dependencies.
afterPropertiesSet() - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
 
afterPropertiesSet() - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdate
 
afterPropertiesSet() - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdater
 
ApplicationContextBean - Class in org.dellroad.stuff.spring
Bean that exposes the containing application context via the ApplicationObjectSupport.getApplicationContext() property.
ApplicationContextBean() - Constructor for class org.dellroad.stuff.spring.ApplicationContextBean
 
apply(Connection, DatabaseAction<Connection>) - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdater

B

beanFactory - Variable in class org.dellroad.stuff.spring.AbstractSpringSchemaUpdate
 
beanName - Variable in class org.dellroad.stuff.spring.AbstractSpringSchemaUpdate
 
BeanNameComparator - Class in org.dellroad.stuff.spring
A Comparator that orders Spring bean names in the same order as the corresponding beans appear in a ListableBeanFactory.
BeanNameComparator(ListableBeanFactory) - Constructor for class org.dellroad.stuff.spring.BeanNameComparator
 
beginTransaction(EntityManager, TransactionDefinition) - Method in class org.dellroad.stuff.spring.HibernateIsolationJpaDialect
 
bulkUpdate(UpdateCallback) - Method in class org.dellroad.stuff.spring.AbstractDAO
Perform a bulk update.

C

cancel() - Method in class org.dellroad.stuff.spring.DelayedAction
Cancel the future scheduled action, if any.
cast(Object) - Method in class org.dellroad.stuff.spring.AbstractDAO
Cast the given object to this instance's persistent instance type.
castList(List<?>) - Method in class org.dellroad.stuff.spring.AbstractDAO
Cast the given list to a list of this instance's persistent instance type.
cleanupTransaction(Object) - Method in class org.dellroad.stuff.spring.HibernateIsolationJpaDialect
 
clear() - Method in class org.dellroad.stuff.spring.AbstractDAO
 
compare(String, String) - Method in class org.dellroad.stuff.spring.BeanNameComparator
 
contains(T) - Method in class org.dellroad.stuff.spring.AbstractDAO
 
ContextCleanupListener - Class in org.dellroad.stuff.servlet
Clears references that can cause container memory leaks on Web container class unloading.
ContextCleanupListener() - Constructor for class org.dellroad.stuff.servlet.ContextCleanupListener
 
contextDestroyed(ServletContextEvent) - Method in class org.dellroad.stuff.servlet.ContextCleanupListener
Unregisters any JDBC drivers registered under the current class loader after first invoking the superclass version of this method.
createBeanDefinition(Class<?>, Element, ParserContext) - Method in class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
Create a new bean definition.
createInstance() - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
 

D

DAOCriteriaListCallback() - Constructor for class org.dellroad.stuff.spring.AbstractDAO.DAOCriteriaListCallback
 
DAOCriteriaUniqueCallback() - Constructor for class org.dellroad.stuff.spring.AbstractDAO.DAOCriteriaUniqueCallback
 
DAOQueryListCallback() - Constructor for class org.dellroad.stuff.spring.AbstractDAO.DAOQueryListCallback
 
DAOQueryUniqueCallback() - Constructor for class org.dellroad.stuff.spring.AbstractDAO.DAOQueryUniqueCallback
 
DEFAULT_INITIAL_DELAY - Static variable in annotation type org.dellroad.stuff.spring.RetryTransaction
Default initial delay, in milliseconds, used when the initialDelay value is not explicitly set in an instance of this annotation.
DEFAULT_MAX_RETRIES - Static variable in annotation type org.dellroad.stuff.spring.RetryTransaction
Default maximum number of retry attempts, used when the maxRetries value is not explicitly set in an instance of this annotation.
DEFAULT_MAXIMUM_DELAY - Static variable in annotation type org.dellroad.stuff.spring.RetryTransaction
Default maximum delay, in milliseconds, used when the maximumDelay value is not explicitly set in an instance of this annotation.
DEFAULT_TRANSACTION_MANAGER_BEAN_NAME - Static variable in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
DelayedAction - Class in org.dellroad.stuff.spring
Manages a delayed action without race conditions.
DelayedAction(Object, TaskScheduler) - Constructor for class org.dellroad.stuff.spring.DelayedAction
Constructor utitilizing a TaskScheduler and normal Java object locking.
DelayedAction(Object, ScheduledExecutorService) - Constructor for class org.dellroad.stuff.spring.DelayedAction
Constructor utitilizing a ScheduledExecutorService and normal Java object locking.
DelayedAction(Lock, TaskScheduler) - Constructor for class org.dellroad.stuff.spring.DelayedAction
Constructor utitilizing a TaskScheduler and a Lock for locking.
DelayedAction(Lock, ScheduledExecutorService) - Constructor for class org.dellroad.stuff.spring.DelayedAction
Constructor utitilizing a ScheduledExecutorService and a Lock for locking.
delete(T) - Method in class org.dellroad.stuff.spring.AbstractDAO
 
DellRoadStuffNamespaceHandler - Class in org.dellroad.stuff.spring
Spring NamespaceHandler for the dellroad-stuff XML namespace.
DellRoadStuffNamespaceHandler() - Constructor for class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 
destroy() - Method in class org.dellroad.stuff.spring.AbstractBean
Shutdown bean.
detach(Object) - Method in class org.dellroad.stuff.spring.AbstractDAO
 
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.dellroad.stuff.servlet.ExceptionLoggingFilter
Process the request.
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 

E

error(Element, ParserContext, String) - Method in class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
Report an error and throw an exception.
ExceptionLoggingFilter - Class in org.dellroad.stuff.servlet
Servlet filter that ensures any exceptions which are not handled by the servlet get logged somewhere.
ExceptionLoggingFilter() - Constructor for class org.dellroad.stuff.servlet.ExceptionLoggingFilter
 
executeQuery(TypedQuery<T>) - Method in class org.dellroad.stuff.spring.AbstractDAO.DAOCriteriaListCallback
 
executeQuery(TypedQuery<T>) - Method in class org.dellroad.stuff.spring.AbstractDAO.DAOCriteriaUniqueCallback
 
executeQuery(TypedQuery<T>) - Method in class org.dellroad.stuff.spring.AbstractDAO.DAOQueryListCallback
 
executeQuery(TypedQuery<T>) - Method in class org.dellroad.stuff.spring.AbstractDAO.DAOQueryUniqueCallback
 

F

find(String, Object...) - Method in class org.dellroad.stuff.spring.AbstractDAO
Find instances using a query string and query parameters.
findUnique(String, Object...) - Method in class org.dellroad.stuff.spring.AbstractDAO
Find a unique instance using a query string and query parameters.
flush() - Method in class org.dellroad.stuff.spring.AbstractDAO
 

G

getAll() - Method in class org.dellroad.stuff.spring.AbstractDAO
 
getAttemptNumber() - Method in interface org.dellroad.stuff.spring.RetryTransactionProvider
Get the current transaction attempt number in the inner-most active transaction.
getAttemptNumber(String) - Method in interface org.dellroad.stuff.spring.RetryTransactionProvider
Get the current transaction attempt number for the specified transaction manager.
getBy(QueryCallback<R>) - Method in class org.dellroad.stuff.spring.AbstractDAO
Search using a QueryCallback.
getById(long) - Method in class org.dellroad.stuff.spring.AbstractDAO
 
getConnection() - Method in class org.dellroad.stuff.spring.HibernateIsolationJpaDialect.TransactionDataWrapper
 
getDatabaseActions() - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdate
 
getDescription() - Method in class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
Get a description of the transaction for logging purposes.
getEntityManager() - Method in class org.dellroad.stuff.spring.AbstractDAO
Get the configured EntityManager.
getInitialDelay() - Method in class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
Get the initial delay between retry attempts in milliseconds.
getInitialDelayDefault() - Method in interface org.dellroad.stuff.spring.RetryTransactionProvider
Get the aspect-wide default for RetryTransaction.initialDelay().
getIsolation() - Method in class org.dellroad.stuff.spring.HibernateIsolationJpaDialect.TransactionDataWrapper
 
getLogger(HttpServletRequest, HttpServletResponse, Throwable) - Method in class org.dellroad.stuff.servlet.ExceptionLoggingFilter
Get the logging destination.
getMaximumDelay() - Method in class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
Get the maximum delay between retry attempts in milliseconds.
getMaximumDelayDefault() - Method in interface org.dellroad.stuff.spring.RetryTransactionProvider
Get the aspect-wide default for RetryTransaction.maximumDelay().
getMaxRetries() - Method in class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
Get the maximum number of transaction retry attempts.
getMaxRetriesDefault() - Method in interface org.dellroad.stuff.spring.RetryTransactionProvider
Get the aspect-wide default for RetryTransaction.maxRetries().
getObjectType() - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
 
getOrderingTieBreaker() - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdater
Get the preferred ordering of two updates that do not have any predecessor constraints (including implied indirect constraints) between them.
getPersistenceExceptionTranslator() - Method in interface org.dellroad.stuff.spring.RetryTransactionProvider
Get the configured exception translator.
getReference(long) - Method in class org.dellroad.stuff.spring.AbstractDAO
 
getScheduledTime() - Method in class org.dellroad.stuff.spring.DelayedAction
Get the scheduled time for the outstanding scheduled action, if any.
getSQLCommandList() - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdate
 
getTransaction() - Method in class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
Get the transaction to perform and possibly retry.
getTransactionData() - Method in class org.dellroad.stuff.spring.HibernateIsolationJpaDialect.TransactionDataWrapper
 
getTransactionManager() - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
getTransactionManagerName() - Method in class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
Get name of the associated transaction manager, if any.
getType() - Method in class org.dellroad.stuff.spring.AbstractDAO
 

H

HibernateIsolationJpaDialect - Class in org.dellroad.stuff.spring
Hibernate JPA adapter that adds supports for setting a non-default transaction isolation level and adds a workaround for SPR-3812.
HibernateIsolationJpaDialect() - Constructor for class org.dellroad.stuff.spring.HibernateIsolationJpaDialect
 
HibernateIsolationJpaDialect.TransactionDataWrapper - Class in org.dellroad.stuff.spring
Wraps superclass transaction data and adds isolation level to restore.

I

indicatesUninitializedDatabase(Connection, SQLException) - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdater
Determine if an exception thrown during SQLSchemaUpdater.databaseNeedsInitialization(java.sql.Connection) is consistent with an uninitialized database.
init() - Method in class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 
initFilterBean() - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
isReadOnly() - Method in class org.dellroad.stuff.spring.AbstractDAO
 
isScheduled() - Method in class org.dellroad.stuff.spring.DelayedAction
Determine whether there is currently an outstanding scheduled action.

L

log - Variable in class org.dellroad.stuff.servlet.ContextCleanupListener
 
log - Variable in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
log - Variable in class org.dellroad.stuff.spring.AbstractBean
 
logException(HttpServletRequest, HttpServletResponse, Throwable) - Method in class org.dellroad.stuff.servlet.ExceptionLoggingFilter
Log an exception caught by this instance and determined to be loggable by shouldLogException().

M

merge(T) - Method in class org.dellroad.stuff.spring.AbstractDAO
 

N

NAMESPACE_URI - Static variable in class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 

O

OpenTransactionInViewFilter - Class in org.dellroad.stuff.servlet
Servlet filter that wraps execution in a transaction.
OpenTransactionInViewFilter() - Constructor for class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
org.dellroad.stuff.servlet - package org.dellroad.stuff.servlet
Servlet-related utility classes.
org.dellroad.stuff.spring - package org.dellroad.stuff.spring
Spring related classes.

P

parseStandardAttributes(AbstractBeanDefinition, Element, ParserContext) - Method in class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
Parse the standard Spring bean attributes such as scope, depends-on, abstract, etc.
prepareTransaction(EntityManager, TransactionDefinition, Connection, Integer) - Method in class org.dellroad.stuff.spring.HibernateIsolationJpaDialect
Prepare transaction.

R

refresh(T) - Method in class org.dellroad.stuff.spring.AbstractDAO
 
ResourceReaderFactoryBean - Class in org.dellroad.stuff.spring
Spring factory bean that reads in a Spring Resource and converts it to a String.
ResourceReaderFactoryBean() - Constructor for class org.dellroad.stuff.spring.ResourceReaderFactoryBean
 
retry(RetryTransactionProvider.RetrySetup<T>) - Method in interface org.dellroad.stuff.spring.RetryTransactionProvider
Perform a transaction, retrying as necessary.
RetrySetup(String, String, Supplier<T>) - Constructor for class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
Constructor that uses the aspect default values for maximum retries, initial delay, and maximum delay.
RetrySetup(String, String, Supplier<T>, RetryTransaction) - Constructor for class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
Constructor that uses the values from a @RetryTransaction annotation, if not null, for maximum retries, initial delay, and maximum delay, otherwise falling back to the aspect defaults.
RetrySetup(String, String, Supplier<T>, int, long, long) - Constructor for class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
Primary constructor.
RetryTransaction - Annotation Type in org.dellroad.stuff.spring
An annotation for @Transactional methods that want to have transactions automatically retried when they fail due to a transient exception.
RetryTransactionProvider - Interface in org.dellroad.stuff.spring
Interface implemented by the RetryTransactionAspect, which implements the RetryTransaction functionality.
RetryTransactionProvider.RetrySetup<T> - Class in org.dellroad.stuff.spring
Holds the configuration information that is required when applying retry logic.

S

save(T) - Method in class org.dellroad.stuff.spring.AbstractDAO
 
schedule(Date) - Method in class org.dellroad.stuff.spring.DelayedAction
Schedule the delayed action for the given time.
schedule(Runnable, Date) - Method in class org.dellroad.stuff.spring.DelayedAction
Schedule the given action using the task scheduler passed to the constructor.
setBeanFactory(BeanFactory) - Method in class org.dellroad.stuff.spring.AbstractSpringSchemaUpdate
 
setBeanFactory(BeanFactory) - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdater
 
setBeanName(String) - Method in class org.dellroad.stuff.spring.AbstractSpringSchemaUpdate
 
setCharacterEncoding(String) - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
Configure the character encoding for the resource.
setEntityManager(EntityManager) - Method in class org.dellroad.stuff.spring.AbstractDAO
Set the configured EntityManager.
setFlushMode(FlushModeType) - Method in class org.dellroad.stuff.spring.AbstractDAO
 
setIsolation(String) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
setPropagation(String) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
setReadOnly(boolean) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
setRequiredPredecessorsFromDependencies() - Method in class org.dellroad.stuff.spring.AbstractSpringSchemaUpdate
Infer required predecessors from Spring dependencies.
setResource(Resource) - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
Configure the resource containing the value.
setSQLCommandList(SQLCommandList) - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdate
Configure the SQLCommandList.
setTransactionManagerBeanName(String) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
shouldLogException(HttpServletRequest, HttpServletResponse, Throwable) - Method in class org.dellroad.stuff.servlet.ExceptionLoggingFilter
Determine if an exception caught by this instance should be logged.
SpringSQLSchemaUpdate - Class in org.dellroad.stuff.spring
Spring-enabled SQL SchemaUpdate.
SpringSQLSchemaUpdate() - Constructor for class org.dellroad.stuff.spring.SpringSQLSchemaUpdate
 
SpringSQLSchemaUpdater - Class in org.dellroad.stuff.spring
SQLSchemaUpdater optimized for use with Spring.
SpringSQLSchemaUpdater() - Constructor for class org.dellroad.stuff.spring.SpringSQLSchemaUpdater
 
SQL_ELEMENT_NAME - Static variable in class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 
SQL_UPDATE_ELEMENT_NAME - Static variable in class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 

T

TransactionDataWrapper(Object, Connection, Integer) - Constructor for class org.dellroad.stuff.spring.HibernateIsolationJpaDialect.TransactionDataWrapper
 
translate(SQLException, Connection, String) - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdater
Converts SQLExceptions into Spring DataAccessExceptions.
translateExceptionIfPossible(RuntimeException) - Method in class org.dellroad.stuff.spring.HibernateIsolationJpaDialect
Adds fix for SPR-10815.
type - Variable in class org.dellroad.stuff.spring.AbstractDAO
Persistent instance type.
A B C D E F G H I L M N O P R S T 
Skip navigation links

Copyright © 2020. All rights reserved.