Class ClientFactory

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean<ExternalTaskClient>, org.springframework.beans.factory.InitializingBean
    Direct Known Subclasses:
    PropertiesAwareClientFactory

    public class ClientFactory
    extends java.lang.Object
    implements org.springframework.beans.factory.FactoryBean<ExternalTaskClient>, org.springframework.beans.factory.InitializingBean
    • Constructor Detail

      • ClientFactory

        public ClientFactory()
    • Method Detail

      • addClientRequestInterceptors

        protected void addClientRequestInterceptors​(ExternalTaskClientBuilder taskClientBuilder)
      • setRequestInterceptors

        @Autowired(required=false)
        public void setRequestInterceptors​(java.util.List<ClientRequestInterceptor> requestInterceptors)
      • setClientBackoffStrategy

        @Autowired(required=false)
        public void setClientBackoffStrategy​(BackoffStrategy backoffStrategy)
      • getObjectType

        public java.lang.Class<ExternalTaskClient> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<ExternalTaskClient>
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<ExternalTaskClient>
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • setClientConfiguration

        public void setClientConfiguration​(ClientConfiguration clientConfiguration)
      • close

        protected void close()
      • setPropertyConfigurer

        @Autowired(required=false)
        protected void setPropertyConfigurer​(org.springframework.context.support.PropertySourcesPlaceholderConfigurer configurer)
      • resolve

        protected java.lang.String resolve​(java.lang.String property)