Interface ObjectBuilder<T>

Type Parameters:
T -

public interface ObjectBuilder<T>
The Builder interface that can be used to customize the Service definition's property/bean value generation process.
  • Method Summary

    Modifier and Type
    Method
    Description
    Implement to generate and return an instance.
    default void
    If there is a nested arg definition in the property/bean definition of the configuration file, its value is set.
    default void
    setClassName(String className)
    If class attribute is specified in property/bean definition of configuration file, that value will be set.
    default void
    The name attribute specified in the property/bean definition of the configuration file is set.
    default void
    If there is a nested property definition in the property/bean definition of the configuration file, its value is set.
    default void
    If value attribute (or nested value element) is specified in property definition of configuration file, that value will be set.
  • Method Details

    • setName

      default void setName(String name)
      The name attribute specified in the property/bean definition of the configuration file is set.
      Parameters:
      name -
    • setValue

      default void setValue(String value)
      If value attribute (or nested value element) is specified in property definition of configuration file, that value will be set.
      Parameters:
      value -
    • setClassName

      default void setClassName(String className)
      If class attribute is specified in property/bean definition of configuration file, that value will be set.
      Parameters:
      className -
    • setProperties

      default void setProperties(Map<String,Object> properties)
      If there is a nested property definition in the property/bean definition of the configuration file, its value is set. If there are multiple property definitions with the same name, multiple instances are stored in the map value as List type.
      Parameters:
      properties -
    • setArgs

      default void setArgs(Map<String,Object> args)
      If there is a nested arg definition in the property/bean definition of the configuration file, its value is set. If there are multiple arg definitions with the same name, multiple instances are stored in the map value as List type.
      Parameters:
      args -
    • build

      T build()
      Implement to generate and return an instance.
      Returns: