A B C D E F G H I J K L M N O P R S T U V W

A

AbstractPersistenceModule - Class in com.wideplay.warp.persist.spi
Base module for persistence strategies that holds a bunch of utility methods for easier configuration.
AbstractPersistenceModule(PersistenceConfiguration, Class<? extends Annotation>) - Constructor for class com.wideplay.warp.persist.spi.AbstractPersistenceModule
 
across(UnitOfWork) - Method in class com.wideplay.warp.persist.internal.PersistenceServiceBuilderImpl
 
across(UnitOfWork) - Method in interface com.wideplay.warp.persist.SessionStrategyBuilder
 
addAccessor(Class<?>) - Method in class com.wideplay.warp.persist.internal.PersistenceServiceBuilderImpl
 
addAccessor(Class<?>) - Method in interface com.wideplay.warp.persist.TransactionStrategyBuilder
 
annotatedWith(Class<? extends Annotation>) - Method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder
 
annotatedWith(Class<? extends Annotation>) - Method in class com.wideplay.warp.persist.hibernate.HibernatePersistenceStrategy.HibernatePersistenceStrategyBuilder
 
annotatedWith(Class<? extends Annotation>) - Method in class com.wideplay.warp.persist.jpa.JpaPersistenceStrategy.JpaPersistenceStrategyBuilder
 
annotatedWith(Class<? extends Annotation>) - Method in interface com.wideplay.warp.persist.spi.PersistenceStrategyBuilder
Configure this strategy to build modules bound to the specified Guice Binding Annotation.
AopAllianceCglibAdapter - Class in com.wideplay.warp.persist.internal
Adapter used to transform cglib interceptors to work with guice (aopalliance) interceptors.
AopAllianceCglibAdapter(MethodInterceptor) - Constructor for class com.wideplay.warp.persist.internal.AopAllianceCglibAdapter
 
AopAllianceJdkProxyAdapter - Class in com.wideplay.warp.persist.internal
This is a simple adapter to convert a JDK dynamic proxy invocation into an aopalliance invocation.
AopAllianceJdkProxyAdapter(MethodInterceptor) - Constructor for class com.wideplay.warp.persist.internal.AopAllianceJdkProxyAdapter
 
asLifecycle(T) - Method in interface com.wideplay.warp.persist.internal.LifecycleAdapter
 

B

beginWork() - Method in interface com.wideplay.warp.persist.internal.InternalWorkManager
 
beginWork() - Method in interface com.wideplay.warp.persist.WorkManager
Starts a Unit Of Work.
bind(Class<T>, Object, T) - Static method in class com.wideplay.warp.persist.internal.ManagedContext
 
bindFinderInterceptor(MethodInterceptor) - Method in class com.wideplay.warp.persist.spi.AbstractPersistenceModule
Binds a finder interceptor with support for multiple modules.
bindTransactionalDynamicAccessors(MethodInterceptor, MethodInterceptor) - Method in class com.wideplay.warp.persist.spi.AbstractPersistenceModule
Binds the finder and transaction interceptor for use with Dynamic Accessors.
bindTransactionInterceptor(MethodInterceptor) - Method in class com.wideplay.warp.persist.spi.AbstractPersistenceModule
Bind the transaction interceptor.
bindWithUnitAnnotation(Class<T>) - Method in class com.wideplay.warp.persist.spi.AbstractPersistenceModule
Bind with an optional unit annotation type, which is a binding annotation used only in multimodules mode and specified in the constructor of this class.
build() - Method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder
 
build() - Method in class com.wideplay.warp.persist.hibernate.HibernatePersistenceStrategy.HibernatePersistenceStrategyBuilder
 
build() - Method in class com.wideplay.warp.persist.jpa.JpaPersistenceStrategy.JpaPersistenceStrategyBuilder
 
build() - Method in interface com.wideplay.warp.persist.spi.Builder
Builds an instance of T.
builder() - Static method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy
 
builder() - Static method in class com.wideplay.warp.persist.hibernate.HibernatePersistenceStrategy
 
builder() - Static method in class com.wideplay.warp.persist.jpa.JpaPersistenceStrategy
 
Builder<T> - Interface in com.wideplay.warp.persist.spi
Formalizes the builder pattern.
buildModule() - Method in class com.wideplay.warp.persist.internal.PersistenceServiceBuilderImpl
 
buildModule() - Method in interface com.wideplay.warp.persist.PersistenceModuleBuilder
 

C

com.wideplay.warp.persist - package com.wideplay.warp.persist
Warp Persist, a lightweight persistence library for Guice.
com.wideplay.warp.persist.dao - package com.wideplay.warp.persist.dao
Dynamic Finder API.
com.wideplay.warp.persist.db4o - package com.wideplay.warp.persist.db4o
Warp Persist's DB4O support.
com.wideplay.warp.persist.hibernate - package com.wideplay.warp.persist.hibernate
Warp Persist's Hibernate support.
com.wideplay.warp.persist.internal - package com.wideplay.warp.persist.internal
Warp Persist's internal classes, DO NOT USE.
com.wideplay.warp.persist.jpa - package com.wideplay.warp.persist.jpa
Warp Persist's Java Persistence API (JPA) support.
com.wideplay.warp.persist.spi - package com.wideplay.warp.persist.spi
Warp Persist SPI for third party persistence engines.
configuration(Configuration) - Method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder
 
configuration(Configuration) - Method in class com.wideplay.warp.persist.hibernate.HibernatePersistenceStrategy.HibernatePersistenceStrategyBuilder
 
configure() - Method in class com.wideplay.warp.persist.PersistenceServiceExtrasModule
 
configure() - Method in class com.wideplay.warp.persist.spi.AbstractPersistenceModule
To be implemented by subclasses.

D

databaseFileName(String) - Method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder
 
Db4Objects - Annotation Type in com.wideplay.warp.persist.db4o
Use this annotation as a binding point for Db4o configuration.
Db4oPersistenceStrategy - Class in com.wideplay.warp.persist.db4o
 
Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder - Class in com.wideplay.warp.persist.db4o
 
Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder() - Constructor for class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder
 
Defaults - Class in com.wideplay.warp.persist
Configuration default values.
Defaults.DefaultUnit - Annotation Type in com.wideplay.warp.persist
Default persistence unit annotation.
destroy() - Method in class com.wideplay.warp.persist.PersistenceFilter
Stops all registered PersistenceService instances.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.wideplay.warp.persist.PersistenceFilter
Activates the HTTP request unit of work.

E

empty(String) - Static method in class com.wideplay.warp.persist.internal.Text
 
endWork() - Method in interface com.wideplay.warp.persist.internal.InternalWorkManager
 
endWork() - Method in interface com.wideplay.warp.persist.WorkManager
Declares an end to the current Unit of Work.
ExceptionalRunnable<E extends Exception> - Interface in com.wideplay.warp.persist.internal
 

F

failEarly(List<Lifecycle>) - Static method in class com.wideplay.warp.persist.internal.Lifecycles
 
failEarlyAndLeaveNoOneBehind(List<Lifecycle>, ExceptionalRunnable<E>) - Static method in class com.wideplay.warp.persist.internal.Lifecycles
 
Finder - Annotation Type in com.wideplay.warp.persist.dao
Marks a method stub as a dynamic finder.
FINDER_CLASS_MATCHER - Static variable in class com.wideplay.warp.persist.Defaults
 
FINDER_METHOD_MATCHER - Static variable in class com.wideplay.warp.persist.Defaults
 
finderWithUnit(Class<?>) - Static method in class com.wideplay.warp.persist.internal.InternalPersistenceMatchers
Matches on all @Finder annotations that have the specified unit.
FirstResult - Annotation Type in com.wideplay.warp.persist.dao
Annotate any dynamic finder method's integer argument with this to pass in the first-result index.
forAll(Matcher<? super Class<?>>) - Method in class com.wideplay.warp.persist.internal.PersistenceServiceBuilderImpl
 
forAll(Matcher<? super Class<?>>, Matcher<? super Method>) - Method in class com.wideplay.warp.persist.internal.PersistenceServiceBuilderImpl
 
forAll(Matcher<? super Class<?>>) - Method in interface com.wideplay.warp.persist.TransactionStrategyBuilder
This is a convenience method, and defaults to using the method matcher: Matchers.annotatedWith(Transactional.class).
forAll(Matcher<? super Class<?>>, Matcher<? super Method>) - Method in interface com.wideplay.warp.persist.TransactionStrategyBuilder
Note that if you do not have an @Transactional annotation present on transactional methods, and use a Matcher.any() for methods, warp-persist will assume default rollbackOn and exceptOn clauses (as though @Transactional were present but with no attributes specified).

G

get() - Method in class com.wideplay.warp.persist.internal.LazyReference
Get the existing T instance, or lazily initialize T using LazyReference.instanceProvider.
getBind(Class<T>, Object) - Static method in class com.wideplay.warp.persist.internal.ManagedContext
 
getBindings(PersistenceConfiguration) - Method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy
 
getBindings(PersistenceConfiguration) - Method in class com.wideplay.warp.persist.hibernate.HibernatePersistenceStrategy
 
getBindings(PersistenceConfiguration) - Method in class com.wideplay.warp.persist.jpa.JpaPersistenceStrategy
 
getBindings(PersistenceConfiguration) - Method in interface com.wideplay.warp.persist.PersistenceStrategy
Produces a PersistenceModule from the given configuration.
getClassMatcher() - Method in class com.wideplay.warp.persist.spi.TransactionMatcher
 
getClassName(String, String, Object, Predicate) - Method in class com.wideplay.warp.persist.internal.WarpPersistNamingPolicy
 
getDynamicAccessors() - Method in interface com.wideplay.warp.persist.spi.PersistenceConfiguration
Returns the configured Dynamic Accessors, which are Dynamic Finders that are interfaces.
getMethodMatcher() - Method in class com.wideplay.warp.persist.spi.TransactionMatcher
 
getPersistenceStrategy() - Method in interface com.wideplay.warp.persist.internal.HasPersistenceStrategy
 
getTransactionMatchers() - Method in interface com.wideplay.warp.persist.spi.PersistenceConfiguration
 
getUnitOfWork() - Method in interface com.wideplay.warp.persist.spi.PersistenceConfiguration
 

H

hasBind(Class<T>, Object) - Static method in class com.wideplay.warp.persist.internal.ManagedContext
 
hashMap() - Static method in class com.wideplay.warp.persist.internal.Inferred
 
HasPersistenceStrategy - Interface in com.wideplay.warp.persist.internal
Internal interface for passing persistence strategies around.
HibernatePersistenceStrategy - Class in com.wideplay.warp.persist.hibernate
 
HibernatePersistenceStrategy.HibernatePersistenceStrategyBuilder - Class in com.wideplay.warp.persist.hibernate
 
HibernatePersistenceStrategy.HibernatePersistenceStrategyBuilder() - Constructor for class com.wideplay.warp.persist.hibernate.HibernatePersistenceStrategy.HibernatePersistenceStrategyBuilder
 
HOST - Static variable in annotation type com.wideplay.warp.persist.db4o.Db4Objects
 
host(String) - Method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder
 

I

Inferred - Class in com.wideplay.warp.persist.internal
 
init(FilterConfig) - Method in class com.wideplay.warp.persist.PersistenceFilter
Starts all registered PersistenceService instances.
inMultiModulesMode() - Method in class com.wideplay.warp.persist.spi.AbstractPersistenceModule
 
intercept(Object, Method, Object[], MethodProxy) - Method in class com.wideplay.warp.persist.internal.AopAllianceCglibAdapter
 
InternalPersistenceMatchers - Class in com.wideplay.warp.persist.internal
Custom internal matchers.
InternalWorkManager<T> - Interface in com.wideplay.warp.persist.internal
WorkManager for internal code reuse.
invoke(Object, Method, Object[]) - Method in class com.wideplay.warp.persist.internal.AopAllianceJdkProxyAdapter
 
isDynamicFinder(Method) - Static method in class com.wideplay.warp.persist.PersistenceService
A utility for testing if a given method is a dynamic finder.

J

JpaPersistenceStrategy - Class in com.wideplay.warp.persist.jpa
 
JpaPersistenceStrategy.JpaPersistenceStrategyBuilder - Class in com.wideplay.warp.persist.jpa
 
JpaPersistenceStrategy.JpaPersistenceStrategyBuilder() - Constructor for class com.wideplay.warp.persist.jpa.JpaPersistenceStrategy.JpaPersistenceStrategyBuilder
 
JpaUnit - Annotation Type in com.wideplay.warp.persist.jpa
A guice binding annotation you should use to tell warp-persist the name of the JPA persistence unit you wish to use.

K

keyWithUnitAnnotation(Class<T>) - Method in class com.wideplay.warp.persist.spi.AbstractPersistenceModule
Generates a key for the given class, with an optional unit annotation (multimodules mode).

L

LazyReference<T> - Class in com.wideplay.warp.persist.internal
Utility to lazily load an object reference.
leaveNoOneBehind(List<Lifecycle>) - Static method in class com.wideplay.warp.persist.internal.Lifecycles
Tries to end work for as much work as possible, in order.
Lifecycle - Interface in com.wideplay.warp.persist.internal
 
LifecycleAdapter<T> - Interface in com.wideplay.warp.persist.internal
 
Lifecycles - Class in com.wideplay.warp.persist.internal
 

M

ManagedContext - Class in com.wideplay.warp.persist.internal
Utility analogous to Hibernate's ManagedSessionContext, but not limited to a single persistence engine.
In UnitOfWork.REQUEST, this class is used by the WorkManager, in UnitOfWork.TRANSACTION by the context artifact (like EntityManager, ObjectContainer, ...) provider and local transaction interceptor.
MaxResults - Annotation Type in com.wideplay.warp.persist.dao
Annotate any dynamic finder method's integer argument with this to pass in the maximum size of returned results.

N

nonEmpty(String, String) - Static method in class com.wideplay.warp.persist.internal.Text
An assertion utility

O

of(Provider<T>) - Static method in class com.wideplay.warp.persist.internal.LazyReference
Create a lazy reference with a provider of the eventual instance.

P

PASSWORD - Static variable in annotation type com.wideplay.warp.persist.db4o.Db4Objects
 
password(String) - Method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder
 
PersistenceConfiguration - Interface in com.wideplay.warp.persist.spi
Configuration values gathered through the fluent interface API.
PersistenceFilter - Class in com.wideplay.warp.persist
Apply this filter to enable the HTTP Request unit of work and to have Warp Persist manage the lifecycle of all the active (module installed) PersistenceService instances.
PersistenceFilter() - Constructor for class com.wideplay.warp.persist.PersistenceFilter
 
PersistenceFlavor - Enum in com.wideplay.warp.persist.internal
Enumerates the persistence engines we support out-of-the-box.
PersistenceMatchers - Class in com.wideplay.warp.persist
Custom matchers for use with Warp Persist.
PersistenceModule - Interface in com.wideplay.warp.persist.spi
Module returned by a PersistenceStrategy.
PersistenceModuleBuilder - Interface in com.wideplay.warp.persist
Builds a Module for use with Guice.
PersistenceModuleVisitor - Interface in com.wideplay.warp.persist.spi
Used to visit a PersistenceModule and gather state that needs to be used with static methods.
PersistenceService - Class in com.wideplay.warp.persist
This is the core warp-persist artifact.
PersistenceService() - Constructor for class com.wideplay.warp.persist.PersistenceService
 
PersistenceServiceBuilderImpl - Class in com.wideplay.warp.persist.internal
Configures and builds a Module for use in a Guice injector to enable the PersistenceService.
PersistenceServiceBuilderImpl(PersistenceFlavor, PersistenceModuleVisitor) - Constructor for class com.wideplay.warp.persist.internal.PersistenceServiceBuilderImpl
 
PersistenceServiceBuilderImpl(PersistenceStrategy, PersistenceModuleVisitor) - Constructor for class com.wideplay.warp.persist.internal.PersistenceServiceBuilderImpl
 
PersistenceServiceExtrasModule - Class in com.wideplay.warp.persist
Module with bindings that can be useful when using certain Warp Persist configurations.
PersistenceServiceExtrasModule() - Constructor for class com.wideplay.warp.persist.PersistenceServiceExtrasModule
 
PersistenceStrategy - Interface in com.wideplay.warp.persist
Strategy for hooking persistence strategies into warp-persist.
PersistenceStrategyBuilder<T> - Interface in com.wideplay.warp.persist.spi
Formalizes naming conventions for PersistenceStrategy builders.
PORT - Static variable in annotation type com.wideplay.warp.persist.db4o.Db4Objects
 
port(int) - Method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder
 
properties(Properties) - Method in class com.wideplay.warp.persist.jpa.JpaPersistenceStrategy.JpaPersistenceStrategyBuilder
 
publishPersistenceService(PersistenceService) - Method in interface com.wideplay.warp.persist.spi.PersistenceModuleVisitor
Publishes the module's PersistenceService for consumption by Warp Persist's common infrastructure, notably PersistenceFilter.
publishWorkManager(WorkManager) - Method in interface com.wideplay.warp.persist.spi.PersistenceModuleVisitor
Publishes the module's WorkManager for consumption by Warp Persist's common infrastructure, notably PersistenceFilter and PersistenceFilter.

R

run() - Method in interface com.wideplay.warp.persist.internal.ExceptionalRunnable
 

S

SessionStrategyBuilder - Interface in com.wideplay.warp.persist
 
shutdown() - Method in class com.wideplay.warp.persist.PersistenceService
Stops the underlying persistence engine.
start() - Method in interface com.wideplay.warp.persist.internal.Lifecycle
 
start() - Method in class com.wideplay.warp.persist.PersistenceService
Starts the underlying persistence engine and makes warp-persist ready for use.
stop() - Method in interface com.wideplay.warp.persist.internal.Lifecycle
 

T

Text - Class in com.wideplay.warp.persist.internal
A Strings utility.
Text() - Constructor for class com.wideplay.warp.persist.internal.Text
 
threadLocal() - Static method in class com.wideplay.warp.persist.internal.Inferred
 
toString() - Method in interface com.wideplay.warp.persist.WorkManager
Returns a short description that uniquely identifies the WorkManager.
Transactional - Annotation Type in com.wideplay.warp.persist
Any method or class marked with this annotation will be considered for transactionality.
transactionalWithUnit(Class<?>) - Static method in class com.wideplay.warp.persist.PersistenceMatchers
Matches on all @Transactional annotations that have the specified unit.
TransactionMatcher - Class in com.wideplay.warp.persist.spi
Transaction matcher configuration, represents one call to TransactionStrategyBuilder.forAll(com.google.inject.matcher.Matcher, com.google.inject.matcher.Matcher).
TransactionMatcher() - Constructor for class com.wideplay.warp.persist.spi.TransactionMatcher
Creates a TransactionMatcher with default class and method matcher.
TransactionMatcher(Matcher<? super Class<?>>) - Constructor for class com.wideplay.warp.persist.spi.TransactionMatcher
Creates a TransactionMatcher with given class matcher and default method matcher.
TransactionMatcher(Matcher<? super Class<?>>, Matcher<? super Method>) - Constructor for class com.wideplay.warp.persist.spi.TransactionMatcher
Creates a TransactionMatcher with given class and method matcher.
TransactionStrategyBuilder - Interface in com.wideplay.warp.persist
 
TransactionType - Enum in com.wideplay.warp.persist
Enumerates options for an experimental feature: read/write or read/only transactions.
TX_CLASS_MATCHER - Static variable in class com.wideplay.warp.persist.Defaults
 
TX_METHOD_MATCHER - Static variable in class com.wideplay.warp.persist.Defaults
 

U

unbind(Class<T>, Object) - Static method in class com.wideplay.warp.persist.internal.ManagedContext
 
unit(String) - Method in class com.wideplay.warp.persist.jpa.JpaPersistenceStrategy.JpaPersistenceStrategyBuilder
 
UNIT_OF_WORK - Static variable in class com.wideplay.warp.persist.Defaults
 
UnitOfWork - Enum in com.wideplay.warp.persist
Enumerates all the supported units-of-work (i.e.
unitOfWorkRequest() - Method in class com.wideplay.warp.persist.spi.AbstractPersistenceModule
 
USER - Static variable in annotation type com.wideplay.warp.persist.db4o.Db4Objects
 
user(String) - Method in class com.wideplay.warp.persist.db4o.Db4oPersistenceStrategy.Db4oPersistenceStrategyBuilder
 
using(PersistenceStrategy) - Static method in class com.wideplay.warp.persist.PersistenceService
Configure a given PersistenceStrategy, either because it is not part of Warp Persist, or because you need support for multiple persistence modules (bound to an annotation).
usingDb4o() - Static method in class com.wideplay.warp.persist.PersistenceService
A factory for warp-persist using Db4o in your Guice module.
usingHibernate() - Static method in class com.wideplay.warp.persist.PersistenceService
A factory for warp-persist using Hibernate in your Guice module.
usingJpa() - Static method in class com.wideplay.warp.persist.PersistenceService
A factory for warp-persist using JPA in your Guice module.

V

valueOf(String) - Static method in enum com.wideplay.warp.persist.internal.PersistenceFlavor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.wideplay.warp.persist.TransactionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.wideplay.warp.persist.UnitOfWork
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.wideplay.warp.persist.internal.PersistenceFlavor
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum com.wideplay.warp.persist.TransactionType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum com.wideplay.warp.persist.UnitOfWork
Returns an array containing the constants of this enum type, in the order they're declared.
visit(PersistenceModuleVisitor) - Method in interface com.wideplay.warp.persist.spi.PersistenceModule
 

W

WarpPersistNamingPolicy - Class in com.wideplay.warp.persist.internal
Cglib class naming policy for Warp Persist.
WarpPersistNamingPolicy() - Constructor for class com.wideplay.warp.persist.internal.WarpPersistNamingPolicy
 
WorkManager - Interface in com.wideplay.warp.persist
This interface is used to gain manual control over the unit of work.

A B C D E F G H I J K L M N O P R S T U V W