Interface ServiceDefinitionFactory<T>

All Known Implementing Classes:
ReflectionServiceDefinitionFactory

public interface ServiceDefinitionFactory<T>
  • Field Details

  • Method Details

    • create

      ServiceDefinition create(T serviceObject, @Nullable HandlerRunner.Options overrideHandlerOptions)
    • supports

      boolean supports(Object serviceObject)
    • priority

      default int priority()
      Get the priority of this factory. Lower values are tried first. The default priority is HIGHEST_PRIORITY.

      Code-generated factories should use the default priority so they are tried first.

      Returns:
      the priority value