Interface ProxyTargetHandler


  • public interface ProxyTargetHandler
    A proxy target handler to help creating proxy on correct origin data object.
    Since 8.0.2 - You could set proxy target handler by setting listener class (it should implement this interface) for example:
    
    <listener>
    	<listener-class>foo.BarHandler</listener-class>
    </listener>
     
    Note: The handler instance is shared between all binders, it is not thread-safe, your implementation has to care the concurrent access issue.
    Since:
    8.0.2
    Author:
    jameschu
    • Method Detail

      • getOriginObject

        <T> T getOriginObject​(T origin)
        Get the corresponding origin data object.
        Parameters:
        origin - the origin data object