public interface TransactionSetupProvider extends Serializable
createContextualProxy
methods in ContextService
and after the proxy method has finished running.Modifier and Type | Method and Description |
---|---|
void |
afterProxyMethod(TransactionHandle handle,
String transactionExecutionProperty)
Method to be called after invoking the proxy method to allow the
Java EE Product Provider to perform any transaction-related cleanup.
|
TransactionHandle |
beforeProxyMethod(String transactionExecutionProperty)
Method to be called before invoking the proxy method to allow the
Java EE Product Provider to perform any transaction-related setup.
|
TransactionHandle beforeProxyMethod(String transactionExecutionProperty)
transactionExecutionProperty
- The value of the ManagedTask.TRANSACTION
execution property for the ContextService that creates the
contextual proxy object.afterProxyMethod(org.glassfish.enterprise.concurrent.spi.TransactionHandle, java.lang.String)
after the proxy method returns.void afterProxyMethod(TransactionHandle handle, String transactionExecutionProperty)
handle
- The TransactionHandle that was returned in the
beforeProxyMethod(java.lang.String)
call.transactionExecutionProperty
- The value of the ManagedTask.TRANSACTION
execution property for the ContextService that creates the
contextual proxy object.Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.