Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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
BeanDefinitionParserimplementations. - AbstractBeanDefinitionParser() - Constructor for class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
- AbstractSpringSchemaUpdate<T> - Class in org.dellroad.stuff.spring
-
Support superclass for
SchemaUpdates declared in SpringBeanFactorys 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.AbstractSpringSchemaUpdate
-
Configures the update name and required predecessors based on the Spring bean's name and
BeanFactorydependencies. - 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
- apply(Connection, DatabaseAction<Connection>) - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdater
-
Apply a
DatabaseActionto aConnection.
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
Comparatorthat orders Spring bean names in the same order as the corresponding beans appear in aListableBeanFactory. - BeanNameComparator(ListableBeanFactory) - Constructor for class org.dellroad.stuff.spring.BeanNameComparator
C
- cancel() - Method in class org.dellroad.stuff.spring.DelayedAction
-
Cancel the future scheduled action, if any.
- compare(String, String) - Method in class org.dellroad.stuff.spring.BeanNameComparator
- 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
- DEFAULT_INITIAL_DELAY - Static variable in annotation interface org.dellroad.stuff.spring.RetryTransaction
-
Default initial delay, in milliseconds, used when the
initialDelayvalue is not explicitly set in an instance of this annotation. - DEFAULT_MAX_RETRIES - Static variable in annotation interface org.dellroad.stuff.spring.RetryTransaction
-
Default maximum number of retry attempts, used when the
maxRetriesvalue is not explicitly set in an instance of this annotation. - DEFAULT_MAXIMUM_DELAY - Static variable in annotation interface org.dellroad.stuff.spring.RetryTransaction
-
Default maximum delay, in milliseconds, used when the
maximumDelayvalue is not explicitly set in an instance of this annotation. - DelayedAction - Class in org.dellroad.stuff.spring
-
Manages a delayed action without race conditions.
- DelayedAction(Object, ScheduledExecutorService) - Constructor for class org.dellroad.stuff.spring.DelayedAction
-
Constructor utitilizing a
ScheduledExecutorServiceand normal Java object locking. - DelayedAction(Object, TaskScheduler) - Constructor for class org.dellroad.stuff.spring.DelayedAction
-
Constructor utitilizing a
TaskSchedulerand normal Java object locking. - DelayedAction(Lock, ScheduledExecutorService) - Constructor for class org.dellroad.stuff.spring.DelayedAction
-
Constructor utitilizing a
ScheduledExecutorServiceand aLockfor locking. - DelayedAction(Lock, TaskScheduler) - Constructor for class org.dellroad.stuff.spring.DelayedAction
-
Constructor utitilizing a
TaskSchedulerand aLockfor locking. - DellRoadStuffNamespaceHandler - Class in org.dellroad.stuff.spring
-
Spring
NamespaceHandlerfor thedellroad-stuffXML namespace. - DellRoadStuffNamespaceHandler() - Constructor for class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
- destroy() - Method in class org.dellroad.stuff.spring.AbstractBean
-
Shutdown bean.
E
- error(Element, ParserContext, String) - Method in class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
-
Report an error and throw an exception.
G
- 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.
- 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.
- 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(). - getInstance() - Static method in class org.dellroad.stuff.spring.Springleton
-
Get the singleton instance.
- 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.
- 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.
- getTransactionManagerName() - Method in class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
-
Get name of the associated transaction manager, if any.
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
- initialDelay() - Element in annotation interface org.dellroad.stuff.spring.RetryTransaction
-
The initial delay between retry attempts in milliseconds.
- isContextRequired() - Method in class org.dellroad.stuff.spring.Springleton
- 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.spring.AbstractBean
M
- maximumDelay() - Element in annotation interface org.dellroad.stuff.spring.RetryTransaction
-
The maximum delay between retry attempts in milliseconds.
- maxRetries() - Element in annotation interface org.dellroad.stuff.spring.RetryTransaction
-
The maximum number of transaction retry attempts.
N
- NAMESPACE_URI - Static variable in class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
O
- org.dellroad.stuff.spring - module org.dellroad.stuff.spring
- 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.
R
- ResourceReaderFactoryBean - Class in org.dellroad.stuff.spring
- 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>, int, long, long) - Constructor for class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
-
Primary constructor.
- RetrySetup(String, String, Supplier<T>, RetryTransaction) - Constructor for class org.dellroad.stuff.spring.RetryTransactionProvider.RetrySetup
-
Constructor that uses the values from a
@RetryTransactionannotation, if not null, for maximum retries, initial delay, and maximum delay, otherwise falling back to the aspect defaults. - RetryTransaction - Annotation Interface in org.dellroad.stuff.spring
-
An annotation for
@Transactionalmethods 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 theRetryTransactionfunctionality. - RetryTransactionProvider.RetrySetup<T> - Class in org.dellroad.stuff.spring
-
Holds the configuration information that is required when applying retry logic.
S
- schedule(Runnable, Instant) - Method in class org.dellroad.stuff.spring.DelayedAction
-
Schedule the given action using the task scheduler passed to the constructor.
- schedule(Instant) - Method in class org.dellroad.stuff.spring.DelayedAction
-
Schedule the delayed action for the given time.
- 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.
- 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. - Springleton - Class in org.dellroad.stuff.spring
-
Global singleton that provides access to the application context in which it is defined from anywhere.
- Springleton() - Constructor for class org.dellroad.stuff.spring.Springleton
-
Constructor.
- 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
-
SQLSchemaUpdateroptimized 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
- translate(SQLException, Connection, String) - Method in class org.dellroad.stuff.spring.SpringSQLSchemaUpdater
-
Converts
SQLExceptions into SpringDataAccessExceptions.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form