Interface Proxyable<T>


  • public interface Proxyable<T>
    An interface that should be implemented by the classes that are able to create a client-side proxy for itself.
    Since:
    12.2.1
    Author:
    as 2014.11.19
    • Method Detail

      • getProxy

        <K> T getProxy​(String sCacheName,
                       K key)
        Return a proxy for a cached value.

        The proxy returned will typically use MethodInvocationProcessor to invoke methods on a remote object, but ultimately it is up to the proxy implementor to decide how each individual method will be proxied.

        Type Parameters:
        K - the type of the cache key
        Parameters:
        sCacheName - the name of the cache the proxied object is in
        key - the key associated with the proxied object
        Returns:
        a proxy for the value with a given key in the specified cache