Class PropertiesAwareClientFactory
- java.lang.Object
-
- org.camunda.bpm.client.spring.impl.client.ClientFactory
-
- org.camunda.bpm.client.spring.boot.starter.impl.PropertiesAwareClientFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<ExternalTaskClient>
,org.springframework.beans.factory.InitializingBean
public class PropertiesAwareClientFactory extends ClientFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientProperties
clientProperties
-
Fields inherited from class org.camunda.bpm.client.spring.impl.client.ClientFactory
backoffStrategy, client, clientConfiguration, LOG, propertyResolver, requestInterceptors
-
-
Constructor Summary
Constructors Constructor Description PropertiesAwareClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addBasicAuthInterceptor()
void
afterPropertiesSet()
void
applyPropertiesFrom(ClientProperties clientConfigurationProps)
-
Methods inherited from class org.camunda.bpm.client.spring.impl.client.ClientFactory
addClientRequestInterceptors, close, getClientConfiguration, getObject, getObjectType, getRequestInterceptors, isSingleton, resolve, setClientBackoffStrategy, setClientConfiguration, setPropertyConfigurer, setRequestInterceptors
-
-
-
-
Field Detail
-
clientProperties
@Autowired protected ClientProperties clientProperties
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in classClientFactory
- Throws:
java.lang.Exception
-
addBasicAuthInterceptor
protected void addBasicAuthInterceptor()
-
applyPropertiesFrom
public void applyPropertiesFrom(ClientProperties clientConfigurationProps)
-
-