Interface Dispatcher.ImmutableCopy

  • All Superinterfaces:
    Dispatcher
    Enclosing interface:
    Dispatcher

    @Immutable
    public static interface Dispatcher.ImmutableCopy
    extends Dispatcher
    An Immutable copy of a Dispatcher. Currently DefaultDispatcher implementation implements both Dispatcher and Registrar and cannot be annotated as Immutable.

    Should consider to provide Registrar.dumpAsDispatcher and Registrar.dumpAsAsyncDispatcher instead of letting DefaultDispatcher or AsyncDispatcher to implement both Registrar and Dispatcher. But it requires a global refactoring.