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