org.springframework.retry.interceptor
Interface MethodArgumentsKeyGenerator


public interface MethodArgumentsKeyGenerator

Interface that allows method parameters to be identified and tagged by a unique key.

Author:
Dave Syer

Method Summary
 java.lang.Object getKey(java.lang.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.
 

Method Detail

getKey

java.lang.Object getKey(java.lang.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 © 2011 SpringSource. All Rights Reserved.