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 BackoffStrategy
protected ExternalTaskClient
protected ClientConfiguration
protected static final ClientLoggerUtil
protected org.springframework.core.env.PropertyResolver
protected List<ClientRequestInterceptor>
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addClientRequestInterceptors
(ExternalTaskClientBuilder taskClientBuilder) void
protected void
protected void
close()
protected void
protected boolean
boolean
protected boolean
protected String
void
setClientBackoffStrategy
(BackoffStrategy backoffStrategy) void
setClientConfiguration
(ClientConfiguration clientConfiguration) protected void
setPropertyConfigurer
(org.springframework.context.support.PropertySourcesPlaceholderConfigurer configurer) void
setRequestInterceptors
(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:
getObject
in 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:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<ExternalTaskClient>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<ExternalTaskClient>
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in 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
-