public interface TransactionMetadataResolver
Modifier and Type | Method and Description |
---|---|
TransactionMetadata |
resolve(org.aopalliance.intercept.MethodInvocation methodInvocation,
TransactionMetadata defaults)
This method is called for a resolver to resolve transaction metadata.
|
TransactionMetadata resolve(org.aopalliance.intercept.MethodInvocation methodInvocation, TransactionMetadata defaults)
MethodInvocation
object and transaction metadata defaults. If this particular resolver is not concerned by this transaction, it
must return null. Otherwise it can specify any resolved metadata as the returned TransactionMetadata
object.
Resolving order is unspecified so resolvers should only return metadata that are specific to them.
methodInvocation
- the current transaction method interception object.defaults
- the transaction metadata defaults.TransactionMetadata
object, null otherwise.Copyright © 2013-2018–2019 SeedStack. All rights reserved.