Class WorkersAutoDiscoveryProperties
java.lang.Object
io.temporal.spring.boot.autoconfigure.properties.WorkersAutoDiscoveryProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of packages to scan for@WorkflowImplclasses.Deprecated.booleanReturns whether@ActivityImpl-annotated beans should be automatically registered with matching workers.booleanReturns whether@NexusServiceImpl-annotated beans should be automatically registered with matching workers.booleanReturns whether@WorkflowImpl-annotated classes that are also Spring-managed beans should be automatically registered with matching workers (without classpath scanning).
-
Constructor Details
-
WorkersAutoDiscoveryProperties
-
-
Method Details
-
isRegisterWorkflowManagedBeans
public boolean isRegisterWorkflowManagedBeans()Returns whether@WorkflowImpl-annotated classes that are also Spring-managed beans should be automatically registered with matching workers (without classpath scanning). Defaults totruewhenenabledistrue,falseotherwise. Workflow implementation classes that are not Spring-managed beans still requireworkflowPackagesfor classpath scanning. -
isRegisterActivityBeans
public boolean isRegisterActivityBeans()Returns whether@ActivityImpl-annotated beans should be automatically registered with matching workers. Defaults totruewhenenabledistrueor when the deprecatedpackagesproperty is set and non-empty;falseotherwise. -
isRegisterNexusServiceBeans
public boolean isRegisterNexusServiceBeans()Returns whether@NexusServiceImpl-annotated beans should be automatically registered with matching workers. Defaults totruewhenenabledistrueor when the deprecatedpackagesproperty is set and non-empty;falseotherwise. -
getEffectiveWorkflowPackages
-
getWorkflowPackages
-
getPackages
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.temporal.workers-auto-discovery.workflow-packages", reason="'packages' has unclear semantics with regard to registration of activity and nexus service beans; use 'workflow-packages' instead") @Nullable public List<String> getPackages()Deprecated.`packages` has unclear semantics with regard to registration of activity and nexus service beans; usegetWorkflowPackages()instead.
-
getWorkflowPackages()instead.