org.springframework.batch.retry.interceptor
Interface MethodArgumentsKeyGenerator
- All Known Implementing Classes:
- JmsMethodArgumentsKeyGenerator
public interface MethodArgumentsKeyGenerator
Interface that allows method parameters to be identified and tagged by a
unique key.
- Author:
- Dave Syer
Method Summary |
Object |
getKey(Object[] item)
Get a unique identifier for the item that can be used to cache it between
calls if necessary, and then identify it later. |
getKey
Object getKey(Object[] item)
- Get a unique identifier for the item that can be used to cache it between
calls if necessary, and then identify it later.
- Parameters:
item
- the current item.
- Returns:
- a unique identifier.
Copyright © 2013 SpringSource. All Rights Reserved.