Class DecoratedFeignComponent<T>
java.lang.Object
io.microsphere.spring.cloud.openfeign.components.DecoratedFeignComponent<T>
- All Implemented Interfaces:
Refreshable
- Direct Known Subclasses:
DecoratedContract,DecoratedDecoder,DecoratedEncoder,DecoratedErrorDecoder,DecoratedQueryMapEncoder,DecoratedRetryer
- Since:
- 0.0.1
- Author:
- 韩超
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDecoratedFeignComponent(String contextId, org.springframework.cloud.context.named.NamedContextFactory<org.springframework.cloud.openfeign.FeignClientSpecification> contextFactory, org.springframework.cloud.openfeign.FeignClientProperties clientProperties, T delegate) -
Method Summary
Modifier and TypeMethodDescriptiondelegate()booleanorg.springframework.cloud.openfeign.FeignClientProperties.FeignClientConfigurationorg.springframework.cloud.openfeign.FeignClientProperties.FeignClientConfigurationinthashCode()static <W extends DecoratedFeignComponent<T>,T>
Winstantiate(Class<W> decoratedClass, Class<T> componentClass, String contextId, org.springframework.cloud.context.named.NamedContextFactory<org.springframework.cloud.openfeign.FeignClientSpecification> contextFactory, org.springframework.cloud.openfeign.FeignClientProperties clientProperties, T delegate) protected T<T> TloadInstanceFromContextFactory(String contextId, Class<T> componentType) voidrefresh()toString()
-
Field Details
-
delegate
-
-
Constructor Details
-
DecoratedFeignComponent
-
-
Method Details
-
delegate
-
loadInstanceFromContextFactory
-
contextId
-
refresh
public void refresh()- Specified by:
refreshin interfaceRefreshable
-
componentType
-
getDefaultConfiguration
public org.springframework.cloud.openfeign.FeignClientProperties.FeignClientConfiguration getDefaultConfiguration() -
getCurrentConfiguration
public org.springframework.cloud.openfeign.FeignClientProperties.FeignClientConfiguration getCurrentConfiguration() -
loadInstance
-
hashCode
public int hashCode() -
equals
-
toString
-
instantiate
public static <W extends DecoratedFeignComponent<T>,T> W instantiate(Class<W> decoratedClass, Class<T> componentClass, String contextId, org.springframework.cloud.context.named.NamedContextFactory<org.springframework.cloud.openfeign.FeignClientSpecification> contextFactory, org.springframework.cloud.openfeign.FeignClientProperties clientProperties, T delegate)
-