类 TaskflowAutoConfiguration

  • 所有已实现的接口:
    org.springframework.beans.factory.InitializingBean

    @ConditionalOnClass(org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration.class)
    public class TaskflowAutoConfiguration
    extends Object
    implements org.springframework.beans.factory.InitializingBean
    从以下版本开始:
    2024-09-01
    作者:
    SHOUSHEN.LUAN
    • 构造器详细资料

      • TaskflowAutoConfiguration

        public TaskflowAutoConfiguration()
    • 方法详细资料

      • jsonProtoModule

        @Bean("TaskflowJsonProtoModule")
        public JsonProtoModule jsonProtoModule()
        JsonProtoModule can be registered into an ObjectMapper to enable the serialization and deserialization of ProtoBuf objects from/to JSON.

        Right now this module only provides (de)serialization for the Any ProtoBuf type, as this is the only ProtoBuf object which we're currently exposing through the REST API.

        Annotated as Component so Spring can register it with ObjectMapper

        另请参阅:
        JsonProtoModule.AnySerializer, JsonProtoModule.AnyDeserializer, JacksonAutoConfiguration
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        指定者:
        afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean
        抛出:
        Exception