Class NameApiRemoteExecutors


  • public final class NameApiRemoteExecutors
    extends Object
    When adding extensions here, it's like adding default interceptors or default-whatever to any command that executes. Each ModeExtension can choose what to do based on mode values.

    You, the developer, may choose to use your IoC framework such as Spring to inject the Extensions into an executor factory.

    The idea is to add all extensions that are available here, even those that are not used. What is used is then configured using the Mode

    • Constructor Detail

      • NameApiRemoteExecutors

        public NameApiRemoteExecutors()
    • Method Detail

      • create

        public static com.optimaize.command4j.CommandExecutor create()
      • get

        public static com.optimaize.command4j.CommandExecutor get()
        Returns:
        Always the same, immutable executor.