Interface CommandDispatcherFactory


@Deprecated(forRemoval=true) public interface CommandDispatcherFactory
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by CommandDispatcherFactory.
Factory for creating a command dispatcher.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Creates a new command dispatcher using the specified identifier and context.
    default <C> CommandDispatcher<C>
    createCommandDispatcher(Object id, C context, ClassLoader loader)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Creates a new command dispatcher using the specified identifier and context, whose marshaller is configured via the specified class loader.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the group upon which the this command dispatcher operates.
  • Method Details

    • getGroup

      Group getGroup()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the group upon which the this command dispatcher operates.
      Returns:
      a group
    • createCommandDispatcher

      <C> CommandDispatcher<C> createCommandDispatcher(Object id, C context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new command dispatcher using the specified identifier and context. The resulting CommandDispatcher will communicate with those dispatchers within the group sharing the same identifier.
      Parameters:
      id - a unique identifier for this dispatcher
      context - the context used for executing commands
      Returns:
      a new command dispatcher
    • createCommandDispatcher

      default <C> CommandDispatcher<C> createCommandDispatcher(Object id, C context, ClassLoader loader)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new command dispatcher using the specified identifier and context, whose marshaller is configured via the specified class loader. The resulting CommandDispatcher will communicate with those dispatchers within the group sharing the same identifier.
      Parameters:
      id - a unique identifier for this dispatcher
      context - the context used for executing commands
      Returns:
      a new command dispatcher