Class WorkersTemplate

java.lang.Object
io.temporal.spring.boot.autoconfigure.template.WorkersTemplate
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.EnvironmentAware

public class WorkersTemplate extends Object implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.EnvironmentAware
Creates a WorkerFactory and Workers for a given namespace provided by WorkflowClient.
  • Constructor Details

  • Method Details

    • getNamespaceProperties

      public NamespaceProperties getNamespaceProperties()
    • getWorkerFactory

      public io.temporal.worker.WorkerFactory getWorkerFactory()
    • getWorkers

      public Collection<io.temporal.worker.Worker> getWorkers()
    • getRegisteredInfo

      @Experimental public Map<String,WorkersTemplate.RegisteredInfo> getRegisteredInfo()
      Return information on registered workflow and activity types per task queue
    • setBeanFactory

      public void setBeanFactory(@Nonnull org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException
    • setEnvironment

      public void setEnvironment(@Nonnull org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware