Class ClientFactory
java.lang.Object
org.camunda.bpm.client.spring.impl.client.ClientFactory
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.camunda.bpm.client.ExternalTaskClient>,org.springframework.beans.factory.InitializingBean
public class ClientFactory
extends Object
implements org.springframework.beans.factory.FactoryBean<org.camunda.bpm.client.ExternalTaskClient>, org.springframework.beans.factory.InitializingBean
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.camunda.bpm.client.backoff.BackoffStrategyprotected org.camunda.bpm.client.ExternalTaskClientprotected ClientConfigurationprotected static final ClientLoggerUtilprotected org.springframework.core.env.PropertyResolverprotected List<org.camunda.bpm.client.interceptor.ClientRequestInterceptor>Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddClientRequestInterceptors(org.camunda.bpm.client.ExternalTaskClientBuilder taskClientBuilder) voidprotected voidprotected voidclose()org.camunda.bpm.client.ExternalTaskClientClass<org.camunda.bpm.client.ExternalTaskClient>List<org.camunda.bpm.client.interceptor.ClientRequestInterceptor>protected voidhandleOrderByCreateTimeConfig(org.camunda.bpm.client.ExternalTaskClientBuilder builder) protected booleanbooleanprotected booleanprotected StringvoidsetClientBackoffStrategy(org.camunda.bpm.client.backoff.BackoffStrategy backoffStrategy) voidsetClientConfiguration(ClientConfiguration clientConfiguration) protected voidsetPropertyConfigurer(org.springframework.context.support.PropertySourcesPlaceholderConfigurer configurer) voidsetRequestInterceptors(List<org.camunda.bpm.client.interceptor.ClientRequestInterceptor> requestInterceptors) protected voidtryConfigureCreateTimeOrder(org.camunda.bpm.client.ExternalTaskClientBuilder builder)
-
Field Details
-
LOG
-
clientConfiguration
-
backoffStrategy
protected org.camunda.bpm.client.backoff.BackoffStrategy backoffStrategy -
requestInterceptors
-
client
protected org.camunda.bpm.client.ExternalTaskClient client -
propertyResolver
protected org.springframework.core.env.PropertyResolver propertyResolver
-
-
Constructor Details
-
ClientFactory
public ClientFactory()
-
-
Method Details
-
getObject
public org.camunda.bpm.client.ExternalTaskClient getObject()- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<org.camunda.bpm.client.ExternalTaskClient>
-
addClientRequestInterceptors
protected void addClientRequestInterceptors(org.camunda.bpm.client.ExternalTaskClientBuilder taskClientBuilder) -
tryConfigureCreateTimeOrder
protected void tryConfigureCreateTimeOrder(org.camunda.bpm.client.ExternalTaskClientBuilder builder) -
handleOrderByCreateTimeConfig
protected void handleOrderByCreateTimeConfig(org.camunda.bpm.client.ExternalTaskClientBuilder builder) -
isOrderByCreateTimeEnabled
protected boolean isOrderByCreateTimeEnabled() -
isUseCreateTimeEnabled
protected boolean isUseCreateTimeEnabled() -
checkForCreateTimeMisconfiguration
protected void checkForCreateTimeMisconfiguration() -
setRequestInterceptors
@Autowired(required=false) public void setRequestInterceptors(List<org.camunda.bpm.client.interceptor.ClientRequestInterceptor> requestInterceptors) -
setClientBackoffStrategy
@Autowired(required=false) public void setClientBackoffStrategy(org.camunda.bpm.client.backoff.BackoffStrategy backoffStrategy) -
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.camunda.bpm.client.ExternalTaskClient>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<org.camunda.bpm.client.ExternalTaskClient>
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getClientConfiguration
-
setClientConfiguration
-
getRequestInterceptors
-
close
protected void close() -
setPropertyConfigurer
@Autowired(required=false) protected void setPropertyConfigurer(org.springframework.context.support.PropertySourcesPlaceholderConfigurer configurer) -
resolve
-