com.founder.api.factory.RpcCommonZjjkFallbackFactory Maven / Gradle / Ivy
package com.founder.api.factory;
import com.founder.api.RpcCommonZjjkService;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;
@Component
public class RpcCommonZjjkFallbackFactory implements FallbackFactory {
/**
* Returns an instance of the fallback appropriate for the given cause.
*
* @param cause cause of an exception.
* @return fallback
*/
@Override
public RpcCommonZjjkService create(Throwable cause) {
return null;
}
}