Package org.flowable.common.engine.impl
Class AbstractServiceConfiguration<S>
java.lang.Object
org.flowable.common.engine.impl.AbstractServiceConfiguration<S>
- Direct Known Subclasses:
BatchServiceConfiguration
,EntityLinkServiceConfiguration
,EventSubscriptionServiceConfiguration
,IdentityLinkServiceConfiguration
,JobServiceConfiguration
,TaskServiceConfiguration
,VariableServiceConfiguration
- Author:
- Tijs Rademakers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<EventDispatchAction>
protected Clock
protected Collection<ServiceConfigurator<S>>
protected boolean
protected String
protected FlowableEventDispatcher
protected List<FlowableEventListener>
protected IdGenerator
protected final org.slf4j.Logger
static final String
The tenant id indicating 'no tenant'protected com.fasterxml.jackson.databind.ObjectMapper
protected Map<String,
List<FlowableEventListener>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigurator
(ServiceConfigurator<S> configurator) protected void
protected void
getClock()
com.fasterxml.jackson.databind.ObjectMapper
protected abstract S
protected void
boolean
boolean
setAdditionalEventDispatchActions
(List<EventDispatchAction> additionalEventDispatchActions) void
setConfigurators
(Collection<ServiceConfigurator<S>> configurators) setEnableEventDispatcher
(boolean enableEventDispatcher) void
setEngineName
(String engineName) setEventDispatcher
(FlowableEventDispatcher eventDispatcher) setEventListeners
(List<FlowableEventListener> eventListeners) setIdGenerator
(IdGenerator idGenerator) setObjectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) setTypedEventListeners
(Map<String, List<FlowableEventListener>> typedEventListeners)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
NO_TENANT_ID
The tenant id indicating 'no tenant'- See Also:
-
engineName
-
configurators
-
enableEventDispatcher
protected boolean enableEventDispatcher -
eventDispatcher
-
eventListeners
-
typedEventListeners
-
additionalEventDispatchActions
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
clock
-
idGenerator
-
-
Constructor Details
-
AbstractServiceConfiguration
-
-
Method Details
-
getService
-
getEngineName
-
setEngineName
-
getConfigurators
-
setConfigurators
-
addConfigurator
-
initConfigurators
protected void initConfigurators() -
configuratorsBeforeInit
protected void configuratorsBeforeInit() -
configuratorsAfterInit
protected void configuratorsAfterInit() -
isEventDispatcherEnabled
public boolean isEventDispatcherEnabled() -
isEnableEventDispatcher
public boolean isEnableEventDispatcher() -
setEnableEventDispatcher
-
getEventDispatcher
-
setEventDispatcher
-
getEventListeners
-
setEventListeners
public AbstractServiceConfiguration<S> setEventListeners(List<FlowableEventListener> eventListeners) -
getTypedEventListeners
-
setTypedEventListeners
public AbstractServiceConfiguration<S> setTypedEventListeners(Map<String, List<FlowableEventListener>> typedEventListeners) -
getAdditionalEventDispatchActions
-
setAdditionalEventDispatchActions
public AbstractServiceConfiguration<S> setAdditionalEventDispatchActions(List<EventDispatchAction> additionalEventDispatchActions) -
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() -
setObjectMapper
public AbstractServiceConfiguration<S> setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
getClock
-
setClock
-
getIdGenerator
-
setIdGenerator
-