Interface ProxyStrategy.InstanceSupplier<T>

  • Type Parameters:
    T - the wrapped type
    Enclosing interface:
    ProxyStrategy

    public static interface ProxyStrategy.InstanceSupplier<T>
    Supplies instances that are wrapped by a proxy.
    • Method Detail

      • get

        T get()
        throws java.lang.Exception
        Returns an underlying instance for the proxy of type T.
        Returns:
        an underlying instance of type T, never null
        Throws:
        java.lang.Exception - when creation of the underlying instance fails