public class CommandDispatcherFactoryService extends Object implements CommandDispatcherFactory, org.jgroups.blocks.RequestHandler, org.jboss.msc.service.Service<CommandDispatcherFactory>, VersionedMarshallingConfiguration
MessageDispatcher.| Constructor and Description |
|---|
CommandDispatcherFactoryService(CommandDispatcherFactoryConfiguration config) |
| 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..
|
int |
getCurrentMarshallingVersion() |
Group |
getGroup()
Returns the group upon which the this command dispatcher operates.
|
org.jboss.marshalling.MarshallingConfiguration |
getMarshallingConfiguration(int version) |
CommandDispatcherFactory |
getValue() |
Object |
handle(org.jgroups.Message message) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public CommandDispatcherFactoryService(CommandDispatcherFactoryConfiguration config)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<CommandDispatcherFactory>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<CommandDispatcherFactory>public CommandDispatcherFactory getValue()
getValue in interface org.jboss.msc.value.Value<CommandDispatcherFactory>public Group getGroup()
CommandDispatcherFactorygetGroup in interface CommandDispatcherFactorypublic <C> CommandDispatcher<C> createCommandDispatcher(Object id, C context)
CommandDispatcherFactoryCommandDispatcher will communicate with those dispatchers within the group sharing the same identifier.createCommandDispatcher in interface CommandDispatcherFactoryid - a unique identifier for this dispatchercontext - the context used for executing commandspublic int getCurrentMarshallingVersion()
getCurrentMarshallingVersion in interface VersionedMarshallingConfigurationpublic org.jboss.marshalling.MarshallingConfiguration getMarshallingConfiguration(int version)
getMarshallingConfiguration in interface VersionedMarshallingConfigurationCopyright © 2014 JBoss by Red Hat. All rights reserved.