Skip navigation links
A B C G I J L M N O P R S T U V X 

A

activeScope() - Method in interface org.osgi.service.transaction.control.TransactionControl
 
activeTransaction() - Method in interface org.osgi.service.transaction.control.TransactionControl
 
as(Class<T>) - Method in exception org.osgi.service.transaction.control.ScopedWorkException
Throws the cause of this Exception as a RuntimeException, or as the supplied Exception type.
asOneOf(Class<A>, Class<B>) - Method in exception org.osgi.service.transaction.control.ScopedWorkException
Throws the cause of this Exception as a RuntimeException, or as one of the supplied Exception types.
asOneOf(Class<A>, Class<B>, Class<C>) - Method in exception org.osgi.service.transaction.control.ScopedWorkException
Throws the cause of this Exception as a RuntimeException or one of the supplied Exception types.
asOneOf(Class<A>, Class<B>, Class<C>, Class<D>) - Method in exception org.osgi.service.transaction.control.ScopedWorkException
Throws the cause of this Exception as a RuntimeException or one of the supplied Exception types.
asRuntimeException() - Method in exception org.osgi.service.transaction.control.ScopedWorkException
 

B

build() - Method in interface org.osgi.service.transaction.control.TransactionControl
Build a transaction context to surround a piece of transactional work

C

commit() - Method in interface org.osgi.service.transaction.control.LocalResource
Commit the resource
CONNECTION_LIFETIME - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to set the maximum amount of time that connections in the pool should remain open
CONNECTION_POOLING_ENABLED - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to determine whether connection pooling is enabled for this resource provider
CONNECTION_TIMEOUT - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to set the maximum amount of time that the pool should wait for a connection

G

getCurrentContext() - Method in interface org.osgi.service.transaction.control.TransactionControl
 
getId() - Method in interface org.osgi.service.transaction.control.recovery.RecoverableXAResource
Get the id of this resource.
getProviderFor(DataSourceFactory, Properties, Map<String, Object>) - Method in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
Create a private JDBCConnectionProvider using a DataSourceFactory.
getProviderFor(DataSource, Map<String, Object>) - Method in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
Create a private JDBCConnectionProvider using an existing DataSource.
getProviderFor(Driver, Properties, Map<String, Object>) - Method in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
Create a private JDBCConnectionProvider using an existing Driver.
getProviderFor(XADataSource, Map<String, Object>) - Method in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
Create a private JDBCConnectionProvider using an existing XADataSource.
getProviderFor(EntityManagerFactoryBuilder, Map<String, Object>, Map<String, Object>) - Method in interface org.osgi.service.transaction.control.jpa.JPAEntityManagerProviderFactory
Create a private JPAEntityManagerProvider using an EntityManagerFactoryBuilder
getProviderFor(EntityManagerFactory, Map<String, Object>) - Method in interface org.osgi.service.transaction.control.jpa.JPAEntityManagerProviderFactory
Create a private JPAEntityManagerProvider using an existing EntityManagerFactory.
getResource(TransactionControl) - Method in interface org.osgi.service.transaction.control.ResourceProvider
Get a resource which will automatically associate with the current scope
getRollbackOnly() - Method in interface org.osgi.service.transaction.control.TransactionContext
Is this transaction marked for rollback only
getRollbackOnly() - Method in interface org.osgi.service.transaction.control.TransactionControl
Gets the rollback status of the active transaction
getScopedValue(Object) - Method in interface org.osgi.service.transaction.control.TransactionContext
Get a value scoped to this transaction
getTransactionKey() - Method in interface org.osgi.service.transaction.control.TransactionContext
Get the key associated with the current transaction
getTransactionStatus() - Method in interface org.osgi.service.transaction.control.TransactionContext
 
getXAResource() - Method in interface org.osgi.service.transaction.control.recovery.RecoverableXAResource
Get a new, valid XAResource that can be used in recovery This XAResource will be returned later using the releaseXAResource(XAResource) method

I

IDLE_TIMEOUT - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to set the maximum amount of time that connections in the pool should remain idle before being closed
ignoreException(Throwable) - Method in interface org.osgi.service.transaction.control.TransactionControl
Marks that the current transaction should not be rolled back if the supplied Exception is thrown by the current transactional work
isReadOnly() - Method in interface org.osgi.service.transaction.control.TransactionContext
 

J

JDBCConnectionProvider - Interface in org.osgi.service.transaction.control.jdbc
A specialised ResourceProvider suitable for obtaining JDBC connections.
JDBCConnectionProviderFactory - Interface in org.osgi.service.transaction.control.jdbc
A factory for creating JDBCConnectionProvider instances
JPAEntityManagerProvider - Interface in org.osgi.service.transaction.control.jpa
A specialised ResourceProvider suitable for obtaining JPA EntityManager instances.
JPAEntityManagerProviderFactory - Interface in org.osgi.service.transaction.control.jpa
A factory for creating JPAEntityManagerProvider instances

L

LOCAL_ENLISTMENT_ENABLED - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to determine whether local enlistment is enabled for this resource provider
LOCAL_ENLISTMENT_ENABLED - Static variable in interface org.osgi.service.transaction.control.jpa.JPAEntityManagerProviderFactory
The property used to determine whether local enlistment is enabled for this resource provider
LocalResource - Interface in org.osgi.service.transaction.control
Resources that can integrate with local transactions should do so using this interface

M

MAX_CONNECTIONS - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to set the maximum number of connections that should be held in the pool
MIN_CONNECTIONS - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to set the minimum number of connections that should be held in the pool

N

noRollbackFor - Variable in class org.osgi.service.transaction.control.TransactionBuilder
The list of Throwable types that must not trigger rollback
noRollbackFor(Class<? extends Throwable>, Class<? extends Throwable>...) - Method in class org.osgi.service.transaction.control.TransactionBuilder
Declare a list of Exception types (and their subtypes) that must not trigger a rollback.
notSupported(Callable<T>) - Method in interface org.osgi.service.transaction.control.TransactionStarter
The supplied piece of work must be run outside the context of a transaction.

O

ongoingContext() - Method in exception org.osgi.service.transaction.control.ScopedWorkException
 
org.osgi.service.transaction.control - package org.osgi.service.transaction.control
 
org.osgi.service.transaction.control.jdbc - package org.osgi.service.transaction.control.jdbc
 
org.osgi.service.transaction.control.jpa - package org.osgi.service.transaction.control.jpa
 
org.osgi.service.transaction.control.recovery - package org.osgi.service.transaction.control.recovery
 
OSGI_RECOVERY_IDENTIFIER - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to set the recovery identifier that should be used

P

postCompletion(Consumer<TransactionStatus>) - Method in interface org.osgi.service.transaction.control.TransactionContext
Register a callback that will be made after the decision to commit or rollback
PRE_ENLISTED_DB_CONNECTION - Static variable in interface org.osgi.service.transaction.control.jpa.JPAEntityManagerProviderFactory
The property used to indicate that database connections will be automatically enlisted in ongoing transactions without intervention from the JPA provider
preCompletion(Runnable) - Method in interface org.osgi.service.transaction.control.TransactionContext
Register a callback that will be made before a call to commit or rollback
putScopedValue(Object, Object) - Method in interface org.osgi.service.transaction.control.TransactionContext
Associate a value with this transaction

R

readOnly() - Method in class org.osgi.service.transaction.control.TransactionBuilder
Indicate to the Transaction Control service that this transaction will be read-only.
RecoverableXAResource - Interface in org.osgi.service.transaction.control.recovery
A RecoverableXAResource service may be provided by a ResourceProvider if they are able to support XA recovery operations.
registerLocalResource(LocalResource) - Method in interface org.osgi.service.transaction.control.TransactionContext
Register an XA resource with the current transaction
registerXAResource(XAResource, String) - Method in interface org.osgi.service.transaction.control.TransactionContext
Register an XA resource with the current transaction
releaseXAResource(XAResource) - Method in interface org.osgi.service.transaction.control.recovery.RecoverableXAResource
Release the XAResource that has been used for recovery
required(Callable<T>) - Method in interface org.osgi.service.transaction.control.TransactionStarter
A transaction is required to run the supplied piece of work.
requiresNew(Callable<T>) - Method in interface org.osgi.service.transaction.control.TransactionStarter
A new transaction is required to run the supplied piece of work.
ResourceProvider<T> - Interface in org.osgi.service.transaction.control
A resource provider is used to provide a scoped resource to the application
rollback() - Method in interface org.osgi.service.transaction.control.LocalResource
Roll back the resource
rollbackFor - Variable in class org.osgi.service.transaction.control.TransactionBuilder
The list of Throwable types that must trigger rollback
rollbackFor(Class<? extends Throwable>, Class<? extends Throwable>...) - Method in class org.osgi.service.transaction.control.TransactionBuilder
Declare a list of Exception types (and their subtypes) that must trigger a rollback.

S

ScopedWorkException - Exception in org.osgi.service.transaction.control
An Exception that is thrown when a piece of scoped work exits with an Exception
ScopedWorkException(String, Throwable, TransactionContext) - Constructor for exception org.osgi.service.transaction.control.ScopedWorkException
Creates a new TransactionException with the supplied message and cause
setRollbackOnly() - Method in interface org.osgi.service.transaction.control.TransactionContext
Mark this transaction for rollback
setRollbackOnly() - Method in interface org.osgi.service.transaction.control.TransactionControl
Marks the current transaction to be rolled back
supports(Callable<T>) - Method in interface org.osgi.service.transaction.control.TransactionStarter
The supplied piece of work may run inside or outside the context of a transaction.
supportsLocal() - Method in interface org.osgi.service.transaction.control.TransactionContext
 
supportsXA() - Method in interface org.osgi.service.transaction.control.TransactionContext
 

T

TRANSACTIONAL_DB_CONNECTION - Static variable in interface org.osgi.service.transaction.control.jpa.JPAEntityManagerProviderFactory
The property used to provide a JDBCConnectionProvider to the resource provider.
TransactionBuilder - Class in org.osgi.service.transaction.control
A builder for a piece of transactional work
TransactionBuilder() - Constructor for class org.osgi.service.transaction.control.TransactionBuilder
 
TransactionContext - Interface in org.osgi.service.transaction.control
A transaction context defines the current transaction, and allows resources to register information and/or synchronisations
TransactionControl - Interface in org.osgi.service.transaction.control
The interface used by clients to control the active transaction context
TransactionException - Exception in org.osgi.service.transaction.control
An Exception indicating that there was a problem with starting, finishing, suspending or resuming a transaction
TransactionException(String) - Constructor for exception org.osgi.service.transaction.control.TransactionException
Creates a new TransactionException with the supplied message
TransactionException(String, Throwable) - Constructor for exception org.osgi.service.transaction.control.TransactionException
Creates a new TransactionException with the supplied message and cause
TransactionRolledBackException - Exception in org.osgi.service.transaction.control
An Exception indicating that the active transaction was unexpectedly rolled back
TransactionRolledBackException(String) - Constructor for exception org.osgi.service.transaction.control.TransactionRolledBackException
Create a new TransactionRolledBackException with the supplied message
TransactionRolledBackException(String, Throwable) - Constructor for exception org.osgi.service.transaction.control.TransactionRolledBackException
Create a new TransactionRolledBackException with the supplied message
TransactionStarter - Interface in org.osgi.service.transaction.control
Implementations of this interface are able to run a piece of work within a transaction
TransactionStatus - Enum in org.osgi.service.transaction.control
The status of the transaction A transaction may not enter all of the states in this enum, however it will always traverse the enum in ascending order.

U

USE_DRIVER - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to set the maximum number of connections that should be held in the pool

V

valueOf(String) - Static method in enum org.osgi.service.transaction.control.TransactionStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.osgi.service.transaction.control.TransactionStatus
Returns an array containing the constants of this enum type, in the order they are declared.

X

XA_ENLISTMENT_ENABLED - Static variable in interface org.osgi.service.transaction.control.jdbc.JDBCConnectionProviderFactory
The property used to determine whether XA enlistment is enabled for this resource provider
XA_ENLISTMENT_ENABLED - Static variable in interface org.osgi.service.transaction.control.jpa.JPAEntityManagerProviderFactory
The property used to determine whether XA enlistment is enabled for this resource provider
A B C G I J L M N O P R S T U V X 
Skip navigation links

Copyright © 2016 The Apache Software Foundation. All rights reserved.