Interface SimpleIdResolver
-
public interface SimpleIdResolverThe provider interface forRemoteTransactioninstances which are located at a Remoting peer.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetTransactionId(org.jboss.remoting3.Connection connection)Get the transaction ID for the transaction from which this instance was taken.
-
-
-
Method Detail
-
getTransactionId
int getTransactionId(@NotNull org.jboss.remoting3.Connection connection) throws InvalidTransactionExceptionGet the transaction ID for the transaction from which this instance was taken. Check against the given connection to ensure that the transaction matches the connection, throwing an exception otherwise.- Parameters:
connection- the connection (must not benull)- Returns:
- the transaction ID
- Throws:
InvalidTransactionException- if the transaction does not match the connection
-
-