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

A

annotationInstances - Variable in class jodd.jtx.proxy.AnnotationTxAdviceManager
 
annotations - Variable in class jodd.jtx.proxy.AnnotationTxAdviceManager
 
AnnotationTxAdvice - Class in jodd.jtx.proxy
Advice that reads transaction annotations and manage transactions over method invocation.
AnnotationTxAdvice() - Constructor for class jodd.jtx.proxy.AnnotationTxAdvice
 
AnnotationTxAdviceManager - Class in jodd.jtx.proxy
Manager for AnnotationTxAdvice.
AnnotationTxAdviceManager(JtxTransactionManager) - Constructor for class jodd.jtx.proxy.AnnotationTxAdviceManager
 
AnnotationTxAdviceManager(LeanJtxWorker) - Constructor for class jodd.jtx.proxy.AnnotationTxAdviceManager
 
AnnotationTxAdviceManager(JtxTransactionManager, String) - Constructor for class jodd.jtx.proxy.AnnotationTxAdviceManager
 
AnnotationTxAdviceManager(LeanJtxWorker, String) - Constructor for class jodd.jtx.proxy.AnnotationTxAdviceManager
 
AnnotationTxAdviceManager(JtxTransactionManager, String, JtxTransactionMode) - Constructor for class jodd.jtx.proxy.AnnotationTxAdviceManager
 
AnnotationTxAdviceManager(LeanJtxWorker, String, JtxTransactionMode) - Constructor for class jodd.jtx.proxy.AnnotationTxAdviceManager
 
AnnotationTxAdviceSupport - Class in jodd.jtx.proxy
Support class for AnnotationTxAdvice.
AnnotationTxAdviceSupport() - Constructor for class jodd.jtx.proxy.AnnotationTxAdviceSupport
 
associateTransaction(JtxTransaction) - Method in class jodd.jtx.JtxTransactionManager
Associate transaction to current thread.

B

beginTransaction(JtxTransactionMode, boolean) - Method in interface jodd.jtx.JtxResourceManager
Creates new resource and begins new transaction if specified so by active flag, usually determined by propagation behavior.

C

checkTimeout() - Method in class jodd.jtx.JtxTransaction
Sets the rollback-only if the deadline has been reached and throws an exception.
close() - Method in interface jodd.jtx.JtxResourceManager
Closes manager and free its resources.
close() - Method in class jodd.jtx.JtxTransactionManager
Closes transaction manager.
commit() - Method in class jodd.jtx.JtxTransaction
Commit and completes current transaction.
commitAllResources() - Method in class jodd.jtx.JtxTransaction
Commits all attached resources.
commitOrRollback(boolean) - Method in class jodd.jtx.JtxTransaction
Performs either commit or rollback on all transaction resources.
commitTransaction(E) - Method in interface jodd.jtx.JtxResourceManager
Commits resource and closes it if committing was successful.
continueTx(JtxTransaction, JtxTransactionMode) - Method in class jodd.jtx.JtxTransactionManager
Check if propagation of a transaction is possible, due to source and destination transaction modes.
createAnnotationData(A) - Method in class jodd.jtx.meta.TransactionAnnotation
createNewTransaction(JtxTransactionMode, Object, boolean) - Method in class jodd.jtx.JtxTransactionManager
Creates new JtxTransaction instance.

D

deadline - Variable in class jodd.jtx.JtxTransaction
 
DEFAULT_TIMEOUT - Static variable in class jodd.jtx.JtxTransactionMode
 
defaultTransactionMode - Variable in class jodd.jtx.proxy.AnnotationTxAdviceManager
 

E

equals(Object) - Method in class jodd.jtx.JtxTransactionMode
 
execute() - Method in class jodd.jtx.proxy.AnnotationTxAdvice
 

G

getCurrentTransaction() - Method in class jodd.jtx.worker.LeanJtxWorker
Returns current transaction or null if there is no transaction at the moment.
getDefaultTransactionMode() - Method in class jodd.jtx.proxy.AnnotationTxAdviceManager
Returns default transaction mode.
getIsolation() - Method in class jodd.jtx.meta.TransactionAnnotationData
 
getIsolationLevel() - Method in class jodd.jtx.JtxTransactionMode
 
getJtxWorker() - Method in class jodd.jtx.proxy.AnnotationTxAdviceManager
Returns tx worker.
getMaxResourcesPerTransaction() - Method in class jodd.jtx.JtxTransactionManager
Returns max number of resources per transaction.
getPropagation() - Method in class jodd.jtx.meta.TransactionAnnotationData
 
getPropagationBehavior() - Method in class jodd.jtx.JtxTransactionMode
 
getResourceType() - Method in interface jodd.jtx.JtxResourceManager
Returns associated resource type.
getScope() - Method in class jodd.jtx.JtxTransaction
Returns transaction scope if exist, or null.
getStatus() - Method in class jodd.jtx.JtxTransaction
Returns current transaction status.
getTimeout() - Method in class jodd.jtx.meta.TransactionAnnotationData
 
getTransaction() - Method in class jodd.jtx.JtxTransactionManager
Returns last transaction associated with current thread or null when thread has no associated transactions created by this transaction manager.
getTransactionAnnotation(Method) - Method in class jodd.jtx.proxy.AnnotationTxAdviceManager
Finds TX annotation.
getTransactionManager() - Method in class jodd.jtx.JtxTransaction
Returns transaction manager that owns this transaction.
getTransactionManager() - Method in class jodd.jtx.worker.LeanJtxWorker
Returns transaction manager.
getTransactionMode() - Method in class jodd.jtx.JtxTransaction
Returns transaction mode.
getTransactionTimeout() - Method in class jodd.jtx.JtxTransactionMode
Returns transaction timeout in seconds.
getTxMode(Class, String, Class[], String) - Method in class jodd.jtx.proxy.AnnotationTxAdviceManager
Reads transaction mode from method annotation.

H

hashCode() - Method in class jodd.jtx.JtxTransactionMode
 

I

ignoreScope - Variable in class jodd.jtx.JtxTransactionManager
 
init() - Static method in class jodd.jtx.JoddJtx
 
isActive() - Method in class jodd.jtx.JtxTransaction
Returns true if transaction is active.
isAssociatedWithThread(JtxTransaction) - Method in class jodd.jtx.JtxTransactionManager
Returns true if provided transaction is associated with current thread.
isCommitted() - Method in class jodd.jtx.JtxTransaction
Returns true if transaction and all its resources are committed successfully.
isCompleted() - Method in class jodd.jtx.JtxTransaction
Returns true if transaction is either committed or rolled back.
isIgnoreScope() - Method in class jodd.jtx.JtxTransactionManager
Returns if transaction scope should be ignored.
isNewTxScope(JtxTransaction, Object) - Method in class jodd.jtx.JtxTransactionManager
Returns true if scope is specified and it is different then of existing transaction.
isNoTransaction() - Method in class jodd.jtx.JtxTransaction
Returns true if transaction is explicitly forbidden, i.e.
isolation - Variable in class jodd.jtx.meta.TransactionAnnotationData
 
isolationNone() - Method in class jodd.jtx.JtxTransactionMode
 
isolationReadCommitted() - Method in class jodd.jtx.JtxTransactionMode
 
isolationReadUncommitted() - Method in class jodd.jtx.JtxTransactionMode
 
isolationRepeatableRead() - Method in class jodd.jtx.JtxTransactionMode
 
isolationSerializable() - Method in class jodd.jtx.JtxTransactionMode
 
isReadOnly() - Method in class jodd.jtx.JtxTransactionMode
 
isReadOnly() - Method in class jodd.jtx.meta.TransactionAnnotationData
 
isRollbackOnly() - Method in class jodd.jtx.JtxTransaction
Returns true if transaction is marked as rollback only.
isRolledback() - Method in class jodd.jtx.JtxTransaction
Returns true if transaction and all its resources are rolled-back successfully.
isSingleResourceManager() - Method in class jodd.jtx.JtxTransactionManager
Returns true if this transaction manager works with just one resource.
isStartAsActive() - Method in class jodd.jtx.JtxTransaction
Returns true if transaction started as active one.
isValidateExistingTransaction() - Method in class jodd.jtx.JtxTransactionManager
Returns whether existing transactions should be validated before participating in them.

J

jodd.jtx - package jodd.jtx
Quick and dirty Java transactions management.
jodd.jtx.meta - package jodd.jtx.meta
Transaction annotations.
jodd.jtx.proxy - package jodd.jtx.proxy
Advices and managers for annotation managed transactions.
jodd.jtx.worker - package jodd.jtx.worker
Transaction workers utilizes usage of transactions in certain way.
JoddJtx - Class in jodd.jtx
Jodd JTX module.
JoddJtx() - Constructor for class jodd.jtx.JoddJtx
 
JTXCTX_PATTERN_CLASS - Static variable in class jodd.jtx.proxy.AnnotationTxAdviceManager
 
JTXCTX_PATTERN_METHOD - Static variable in class jodd.jtx.proxy.AnnotationTxAdviceManager
 
JtxException - Exception in jodd.jtx
JTX unchecked exception.
JtxException(Throwable) - Constructor for exception jodd.jtx.JtxException
 
JtxException(String) - Constructor for exception jodd.jtx.JtxException
 
JtxException(String, Throwable) - Constructor for exception jodd.jtx.JtxException
 
JtxIsolationLevel - Enum in jodd.jtx
Transaction isolation mode.
JtxPropagationBehavior - Enum in jodd.jtx
Transaction propagation behavior values.
JtxResourceManager<E> - Interface in jodd.jtx
Responsible for managing transactions of the resources of the same type under the control of the transaction.
JtxStatus - Enum in jodd.jtx
Transaction statuses.
JtxTransaction - Class in jodd.jtx
Transaction is an unit of work that is performed by one or more resources.
JtxTransaction(JtxTransactionManager, JtxTransactionMode, Object, boolean) - Constructor for class jodd.jtx.JtxTransaction
Creates new transaction.
JtxTransactionManager - Class in jodd.jtx
JtxTransaction manager is responsible for handling transaction propagation and resource managers.
JtxTransactionManager() - Constructor for class jodd.jtx.JtxTransactionManager
Creates new transaction manager.
JtxTransactionMode - Class in jodd.jtx
Transaction mode is defined by propagation behavior, isolation level and read-only flag.
JtxTransactionMode() - Constructor for class jodd.jtx.JtxTransactionMode
 
jtxWorker - Variable in class jodd.jtx.proxy.AnnotationTxAdviceManager
 

L

LeanJtxWorker - Class in jodd.jtx.worker
Lean transaction worker helps dealing transactions when they were requested in several places, usually in separated methods.
LeanJtxWorker(JtxTransactionManager) - Constructor for class jodd.jtx.worker.LeanJtxWorker
 
lookupResource(Class<E>) - Method in class jodd.jtx.JtxTransaction
Lookups for open resource.
lookupResourceManager(Class<E>) - Method in class jodd.jtx.JtxTransactionManager
Lookups resource manager for provided type.

M

manager - Static variable in class jodd.jtx.proxy.AnnotationTxAdviceSupport
Manager that will be used by advice.
markOrRollbackTransaction(JtxTransaction, Throwable) - Method in class jodd.jtx.worker.LeanJtxWorker
Rollbacks transaction if created in the same scope where this method is invoked.
maxResourcesPerTransaction - Variable in class jodd.jtx.JtxTransactionManager
 
maybeCommitTransaction(JtxTransaction) - Method in class jodd.jtx.worker.LeanJtxWorker
Commits transaction if created in the same level where this method is invoked.
maybeRequestTransaction(JtxTransactionMode, Object) - Method in class jodd.jtx.worker.LeanJtxWorker
Requests for transaction and returns non-null value only when new transaction is created!
mode - Variable in class jodd.jtx.JtxTransaction
 

O

oneResourceManager - Variable in class jodd.jtx.JtxTransactionManager
 

P

propagation - Variable in class jodd.jtx.meta.TransactionAnnotationData
 
propagationBehavior - Variable in class jodd.jtx.JtxTransactionMode
 
propagationMandatory() - Method in class jodd.jtx.JtxTransactionMode
Propagation mandatory.
propagationNever() - Method in class jodd.jtx.JtxTransactionMode
Propagation never.
propagationNotSupported() - Method in class jodd.jtx.JtxTransactionMode
Propagation not supported.
propagationRequired() - Method in class jodd.jtx.JtxTransactionMode
Propagation required.
propagationRequiresNew() - Method in class jodd.jtx.JtxTransactionMode
Propagation requires new.
propagationSupports() - Method in class jodd.jtx.JtxTransactionMode
Propagation supports.
propMandatory(JtxTransaction, JtxTransactionMode, Object) - Method in class jodd.jtx.JtxTransactionManager
Propagation: MANDATORY None -> Error T1 -> T1 (cont.)
propNever(JtxTransaction, JtxTransactionMode, Object) - Method in class jodd.jtx.JtxTransactionManager
Propagation: NEVER None -> None T1 -> Error
propNotSupported(JtxTransaction, JtxTransactionMode, Object) - Method in class jodd.jtx.JtxTransactionManager
Propagation: NOT_SUPPORTED None -> None T1 -> None
propRequired(JtxTransaction, JtxTransactionMode, Object) - Method in class jodd.jtx.JtxTransactionManager
Propagation: REQUIRED None -> T2 T1 -> T1 (cont.)
propRequiresNew(JtxTransaction, JtxTransactionMode, Object) - Method in class jodd.jtx.JtxTransactionManager
Propagation: REQUIRES_NEW None -> T2 T1 -> T2
propSupports(JtxTransaction, JtxTransactionMode, Object) - Method in class jodd.jtx.JtxTransactionManager
Propagation: SUPPORTS None -> None T1 -> T1 (cont.)

R

READ_ONLY - Static variable in class jodd.jtx.JtxTransactionMode
 
READ_WRITE - Static variable in class jodd.jtx.JtxTransactionMode
 
readAnnotationData(AccessibleObject) - Method in class jodd.jtx.meta.TransactionAnnotation
Need to override to make java compiler happy.
readOnly(boolean) - Method in class jodd.jtx.JtxTransactionMode
 
readOnly - Variable in class jodd.jtx.meta.TransactionAnnotationData
 
registerAnnotations(Class<? extends Annotation>...) - Method in class jodd.jtx.proxy.AnnotationTxAdviceManager
Registers tx annotations.
registerResourceManager(JtxResourceManager) - Method in class jodd.jtx.JtxTransactionManager
Registers new resource manager.
removeTransaction(JtxTransaction) - Method in class jodd.jtx.JtxTransactionManager
Removes transaction association with current thread.
requestResource(Class<E>) - Method in class jodd.jtx.JtxTransaction
Requests a resource.
requestTransaction(JtxTransactionMode) - Method in class jodd.jtx.JtxTransactionManager
 
requestTransaction(JtxTransactionMode, Object) - Method in class jodd.jtx.JtxTransactionManager
Requests transaction with specified mode.
resolveScope(Class, String) - Method in class jodd.jtx.proxy.AnnotationTxAdviceManager
Resolves tx scope from scope pattern.
resourceManagers - Variable in class jodd.jtx.JtxTransactionManager
 
resources - Variable in class jodd.jtx.JtxTransaction
 
rollback() - Method in class jodd.jtx.JtxTransaction
Roll back and completes current transaction.
rollbackAllResources(boolean) - Method in class jodd.jtx.JtxTransaction
Rollbacks all attached resources.
rollbackCause - Variable in class jodd.jtx.JtxTransaction
 
rollbackTransaction(E) - Method in interface jodd.jtx.JtxResourceManager
Rollback resource and closes it.

S

scope - Variable in class jodd.jtx.JtxTransaction
 
scopePattern - Variable in class jodd.jtx.proxy.AnnotationTxAdviceManager
 
setIgnoreScope(boolean) - Method in class jodd.jtx.JtxTransactionManager
Sets if transaction scope should be ignored.
setIsolationLevel(JtxIsolationLevel) - Method in class jodd.jtx.JtxTransactionMode
 
setMaxResourcesPerTransaction(int) - Method in class jodd.jtx.JtxTransactionManager
Sets max number of resources per transaction.
setPropagationBehaviour(JtxPropagationBehavior) - Method in class jodd.jtx.JtxTransactionMode
Specifies new propagation behaviour. s
setReadOnly(boolean) - Method in class jodd.jtx.JtxTransactionMode
 
setRollbackOnly() - Method in class jodd.jtx.JtxTransaction
Modify the transaction associated with the target object such that the only possible outcome of the transaction is to roll back the transaction.
setRollbackOnly(Throwable) - Method in class jodd.jtx.JtxTransaction
Modify the transaction associated with the target object such that the only possible outcome of the transaction is to roll back the transaction.
setSingleResourceManager(boolean) - Method in class jodd.jtx.JtxTransactionManager
Specifies if transaction manager works with just one resource.
setTransactionTimeout(int) - Method in class jodd.jtx.JtxTransactionMode
Sets transaction timeout in seconds.
setValidateExistingTransaction(boolean) - Method in class jodd.jtx.JtxTransactionManager
Sets whether existing transactions should be validated before participating in them.
startAsActive - Variable in class jodd.jtx.JtxTransaction
 
status - Variable in class jodd.jtx.JtxTransaction
 

T

timeout - Variable in class jodd.jtx.meta.TransactionAnnotationData
 
toString() - Method in enum jodd.jtx.JtxIsolationLevel
 
toString() - Method in enum jodd.jtx.JtxPropagationBehavior
 
toString() - Method in enum jodd.jtx.JtxStatus
 
toString() - Method in class jodd.jtx.JtxTransactionMode
Returns tx description for debugging purposes.
totalActiveThreadTransactions() - Method in class jodd.jtx.JtxTransactionManager
Returns total number of active transactions associated with current thread.
totalThreadTransactions() - Method in class jodd.jtx.JtxTransactionManager
Returns total number of transactions associated with current thread.
totalThreadTransactionsWithStatus(JtxStatus) - Method in class jodd.jtx.JtxTransactionManager
Returns total number of transactions of the specified status associated with current thread.
totalTransactions - Variable in class jodd.jtx.JtxTransactionManager
 
totalTransactions() - Method in class jodd.jtx.JtxTransactionManager
Returns total number of transactions issued by this transaction manager.
Transaction - Annotation Type in jodd.jtx.meta
Transaction method annotation for external use.
TransactionAnnotation<A extends java.lang.annotation.Annotation> - Class in jodd.jtx.meta
Transaction annotation.
TransactionAnnotation(Class<A>) - Constructor for class jodd.jtx.meta.TransactionAnnotation
 
TransactionAnnotationData<A extends java.lang.annotation.Annotation> - Class in jodd.jtx.meta
Transaction annotation elements.
TransactionAnnotationData(A) - Constructor for class jodd.jtx.meta.TransactionAnnotationData
 
transactionTimeout(int) - Method in class jodd.jtx.JtxTransactionMode
 
txManager - Variable in class jodd.jtx.JtxTransaction
 
txManager - Variable in class jodd.jtx.worker.LeanJtxWorker
 
txmap - Variable in class jodd.jtx.proxy.AnnotationTxAdviceManager
 
txStack - Variable in class jodd.jtx.JtxTransactionManager
 

V

validateExistingTransaction - Variable in class jodd.jtx.JtxTransactionManager
 
value() - Method in enum jodd.jtx.JtxIsolationLevel
 
value() - Method in enum jodd.jtx.JtxPropagationBehavior
 
value() - Method in enum jodd.jtx.JtxStatus
 
valueOf(String) - Static method in enum jodd.jtx.JtxIsolationLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jodd.jtx.JtxPropagationBehavior
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jodd.jtx.JtxStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum jodd.jtx.JtxIsolationLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jodd.jtx.JtxPropagationBehavior
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jodd.jtx.JtxStatus
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H I J L M O P R S T V 
Skip navigation links

Copyright © 2003-2013 Jodd Team