A B C D E G J O P R T

A

abort() - Method in class org.tynamo.jpa.internal.JPATransactionManagerImpl
 
abort() - Method in interface org.tynamo.jpa.JPATransactionManager
Aborts the current transaction, and starts a new transaction to replace it.
addTransactionCommitAdvice(MethodAdviceReceiver) - Method in class org.tynamo.jpa.internal.JPATransactionAdvisorImpl
 
addTransactionCommitAdvice(MethodAdviceReceiver) - Method in interface org.tynamo.jpa.JPATransactionAdvisor
Identifies any methods with the org.apache.tapestry5.jpa.annotations.CommitAfter annotation and applies the transaction logic to those methods.

B

bind(ServiceBinder) - Static method in class org.tynamo.jpa.JPACoreModule
 
build(Class<T>, T, String) - Method in class org.tynamo.jpa.internal.JPATransactionDecoratorImpl
 
build(Class<T>, T, String) - Method in interface org.tynamo.jpa.JPATransactionDecorator
Builds a transaction interceptor instance around the delegate.
buildEntityManager(JPATransactionManager, PropertyShadowBuilder) - Static method in class org.tynamo.jpa.JPACoreModule
 
buildJPAEntityManagerSource(Logger, String, RegistryShutdownHub) - Static method in class org.tynamo.jpa.JPACoreModule
 
buildJPATransactionManager(JPAEntityManagerSource, PerthreadManager) - Static method in class org.tynamo.jpa.JPACoreModule
The transaction manager manages transaction on a per-thread/per-request basis.

C

commit() - Method in class org.tynamo.jpa.internal.JPATransactionManagerImpl
 
commit() - Method in interface org.tynamo.jpa.JPATransactionManager
Commits the current transaction (which will cause a flush of data to the database), then starts a new transaction to replace it.
CommitAfter - Annotation Type in org.tynamo.jpa.annotations
Marks a method of a service (or a component method) as transactional: the active transaction should commit after invoking the method.
contributeFactoryDefaults(MappedConfiguration<String, String>) - Static method in class org.tynamo.jpa.JPACoreModule
 
contributeRegistryStartup(OrderedConfiguration<Runnable>, boolean, JPAEntityManagerSource) - Static method in class org.tynamo.jpa.JPACoreModule
 
create() - Method in class org.tynamo.jpa.internal.JPAEntityManagerSourceImpl
 
create() - Method in interface org.tynamo.jpa.JPAEntityManagerSource
Creates a new session using the EntityManagerFactory created at service startup.

D

DEFAULT_CONFIGURATION - Static variable in class org.tynamo.jpa.JPASymbols
If true, then the last org.apache.tapestry5.hibernate.HibernateConfigurer will invoke org.hibernate.cfg.Configuration#configure(), to read the application's hibernate.cfg.xml.

E

EARLY_START_UP - Static variable in class org.tynamo.jpa.JPASymbols
If "true", then Hibernate will be started up at application launch, rather than lazily.

G

getEntityManager() - Method in class org.tynamo.jpa.internal.JPATransactionManagerImpl
 
getEntityManager() - Method in interface org.tynamo.jpa.JPATransactionManager
Gets the active session for this request, creating it as necessary.
getEntityManagerFactory() - Method in class org.tynamo.jpa.internal.JPAEntityManagerSourceImpl
 
getEntityManagerFactory() - Method in interface org.tynamo.jpa.JPAEntityManagerSource
Returns the EntityManagerFactory from which JPA entity managers are created.
getPackageNames() - Method in interface org.tynamo.jpa.JPAEntityPackageManager
Returns packages from which read entity classes

J

JPAConfigurer - Class in org.tynamo.jpa.internal
 
JPAConfigurer(String) - Constructor for class org.tynamo.jpa.internal.JPAConfigurer
 
JPACore - Annotation Type in org.tynamo.jpa
Marker annotation used to identify services defined in the JPACoreModule.
JPACoreMessages - Class in org.tynamo.jpa.internal
 
JPACoreMessages() - Constructor for class org.tynamo.jpa.internal.JPACoreMessages
 
JPACoreModule - Class in org.tynamo.jpa
Defines core services that support initialization of Hibernate and access to the Hibernate EntityManager.
JPACoreModule() - Constructor for class org.tynamo.jpa.JPACoreModule
 
JPAEntityManagerSource - Interface in org.tynamo.jpa
Responsible for creating an EntityManager as needed.
JPAEntityManagerSourceImpl - Class in org.tynamo.jpa.internal
 
JPAEntityManagerSourceImpl(Logger, String) - Constructor for class org.tynamo.jpa.internal.JPAEntityManagerSourceImpl
 
JPAEntityPackageManager - Interface in org.tynamo.jpa
Contains a set of contributed package names from which to load entities.
JPASymbols - Class in org.tynamo.jpa
Configuration symbols, for use with contributions to ApplicationDefaults.
JPASymbols() - Constructor for class org.tynamo.jpa.JPASymbols
 
JPATransactionAdvisor - Interface in org.tynamo.jpa
A replacement for org.apache.tapestry5.hibernate.JPATransactionDecorator.
JPATransactionAdvisorImpl - Class in org.tynamo.jpa.internal
 
JPATransactionAdvisorImpl(JPATransactionManager) - Constructor for class org.tynamo.jpa.internal.JPATransactionAdvisorImpl
 
JPATransactionDecorator - Interface in org.tynamo.jpa
Service that can create an interceptor that wraps around a service implementation.
JPATransactionDecoratorImpl - Class in org.tynamo.jpa.internal
 
JPATransactionDecoratorImpl(AspectDecorator, JPATransactionAdvisor) - Constructor for class org.tynamo.jpa.internal.JPATransactionDecoratorImpl
 
JPATransactionManager - Interface in org.tynamo.jpa
Manages the JPA transaction for the current thread.
JPATransactionManagerImpl - Class in org.tynamo.jpa.internal
 
JPATransactionManagerImpl(JPAEntityManagerSource) - Constructor for class org.tynamo.jpa.internal.JPATransactionManagerImpl
 

O

org.tynamo.jpa - package org.tynamo.jpa
 
org.tynamo.jpa.annotations - package org.tynamo.jpa.annotations
 
org.tynamo.jpa.internal - package org.tynamo.jpa.internal
 

P

PERSISTENCE_UNIT - Static variable in class org.tynamo.jpa.JPASymbols
 
PROVIDE_ENTITY_VALUE_ENCODERS - Static variable in class org.tynamo.jpa.JPASymbols
If true (the default), then org.apache.tapestry5.ValueEncoders are automatically created for each entity.

R

registryDidShutdown() - Method in class org.tynamo.jpa.internal.JPAEntityManagerSourceImpl
 

T

threadDidCleanup() - Method in class org.tynamo.jpa.internal.JPATransactionManagerImpl
Rollsback the transaction at the end of the request, then closes the session.

A B C D E G J O P R T

Copyright © 2009-2010. All Rights Reserved.