public class LocalCommandDispatcherFactory extends Object implements CommandDispatcherFactory
CommandDispatcherFactory
implementationConstructor and Description |
---|
LocalCommandDispatcherFactory(Group group) |
Modifier and Type | Method and Description |
---|---|
<C> CommandDispatcher<C> |
createCommandDispatcher(Object id,
C context)
Creates a new command dispatcher using the specified identifier and context..
|
Group |
getGroup()
Returns the group upon which the this command dispatcher operates.
|
public LocalCommandDispatcherFactory(Group group)
public Group getGroup()
CommandDispatcherFactory
getGroup
in interface CommandDispatcherFactory
public <C> CommandDispatcher<C> createCommandDispatcher(Object id, C context)
CommandDispatcherFactory
CommandDispatcher
will communicate with those dispatchers within the group sharing the same identifier.createCommandDispatcher
in interface CommandDispatcherFactory
id
- a unique identifier for this dispatchercontext
- the context used for executing commandsCopyright © 2018 JBoss by Red Hat. All rights reserved.