Uses of Interface
org.keridwen.core.messaging.Command

Packages that use Command
org.keridwen.core.messaging Project : Keridwen Copyright : Artenum SARL, 24 rue Louis Blanc 75010, Paris, France 2010. 
org.keridwen.core.messaging.internal   
 

Uses of Command in org.keridwen.core.messaging
 

Classes in org.keridwen.core.messaging that implement Command
 class AbstractCommand<ResultType,MessageType>
          This class provides default implementations for methods common to most Commands.
 

Methods in org.keridwen.core.messaging that return Command
<ReturnType,MessageType>
Command<ReturnType,MessageType>
DefaultBundleController.getCommandForEvent(Event<ReturnType,MessageType> event)
           
<ReturnType,MessageType>
Command<ReturnType,MessageType>
BundleController.getCommandForEvent(Event<ReturnType,MessageType> event)
          Gets the Command (if any) associated with the given Event.
 

Methods in org.keridwen.core.messaging that return types with arguments of type Command
 Class<? extends Command<ReturnType,MessageType>> DefaultEventKey.getCommand()
           
 List<Command<U,V>> Scheme.getCommandsList()
          Gets the list of Commands managed by the scheme.
 Collection<Class<? extends Command<?,?>>> Condition.getValidationCommands()
          Gets the list of Commands that validate the Condition.
 

Methods in org.keridwen.core.messaging with parameters of type Command
<ReturnType,MessageType>
ScheduledFuture<?>
DefaultBundleController.runAfterDelay(Command<ReturnType,MessageType> command, MessageType message, long delay, TimeUnit unit)
           
<ReturnType,MessageType>
ScheduledFuture<?>
BundleController.runAfterDelay(Command<ReturnType,MessageType> command, MessageType message, long delay, TimeUnit unit)
          Runs the given Command after the given delay.
<ReturnType,MessageType>
Future<ReturnType>
DefaultBundleController.runAsynchronously(Command<ReturnType,MessageType> command, MessageType message)
           
<ReturnType,MessageType>
Future<ReturnType>
BundleController.runAsynchronously(Command<ReturnType,MessageType> command, MessageType message)
          Runs the given Command asynchronously.
<ReturnType,MessageType>
Future<ReturnType>
DefaultBundleController.runAsynchronously(Command<ReturnType,MessageType> command, MessageType message, int nbThreads)
           
<ReturnType,MessageType>
Future<ReturnType>
BundleController.runAsynchronously(Command<ReturnType,MessageType> command, MessageType message, int nbThreads)
           
<ReturnType,MessageType>
ScheduledFuture<?>
DefaultBundleController.runAtFixedRate(Command<ReturnType,MessageType> command, MessageType message, long initialDelay, long period, TimeUnit unit)
           
<ReturnType,MessageType>
ScheduledFuture<?>
BundleController.runAtFixedRate(Command<ReturnType,MessageType> command, MessageType message, long initialDelay, long period, TimeUnit unit)
          Runs the gievn Command after the given delay and at a given period.
<ReturnType,MessageType>
Future<ReturnType>
DefaultBundleController.runOnCondition(Command<ReturnType,MessageType> command, MessageType message, Condition condition)
           
<ReturnType,MessageType>
Future<ReturnType>
BundleController.runOnCondition(Command<ReturnType,MessageType> command, MessageType message, Condition condition)
          Runs the given Command as soon as the Condition becomes valid.
<ReturnType,MessageType>
ScheduledFuture<?>
DefaultBundleController.runWithFixedDelay(Command<ReturnType,MessageType> command, MessageType message, long initialDelay, long delay, TimeUnit unit)
           
<ReturnType,MessageType>
ScheduledFuture<?>
BundleController.runWithFixedDelay(Command<ReturnType,MessageType> command, MessageType message, long initialDelay, long delay, TimeUnit unit)
          Runs the given Command after the given delay with the given delay between two executions.
 

Method parameters in org.keridwen.core.messaging with type arguments of type Command
 void DefaultBundleController.registerEvent(String keyId, Class<? extends Command<?,?>> commandClass)
           
 void BundleController.registerEvent(String keyId, Class<? extends Command<?,?>> commandClass)
           
 void Condition.registerValidationCommand(Class<? extends Command<?,?>> command)
          Registers a Command that validates the Condition.
 void Condition.unregisterValidationCommand(Class<? extends Command<?,?>> command)
          Unregisters the given Command from the list of Commands able to validate the Condition.
 

Constructor parameters in org.keridwen.core.messaging with type arguments of type Command
DefaultEventKey(Class<? extends Command<ReturnType,MessageType>> classToSet)
           
DefaultEventKey(String anId, Class<? extends Command<ReturnType,MessageType>> classToSet)
           
 

Uses of Command in org.keridwen.core.messaging.internal
 

Classes in org.keridwen.core.messaging.internal that implement Command
 class AbstractCommandScheme<U extends Serializable,V extends Serializable>
          A AbstractCommandScheme contains a list of Commands to be executed and the Scheme describing how to do it.
 

Methods in org.keridwen.core.messaging.internal that return Command
static
<ReturnType extends Serializable,IntermediateMessageType extends Serializable,MessageType extends Serializable>
Command<ReturnType,MessageType>
CommandFactory.compose(Command<IntermediateMessageType,MessageType> command1, Command<ReturnType,IntermediateMessageType> command2)
          Return the composition of two Commands.
 

Methods in org.keridwen.core.messaging.internal that return types with arguments of type Command
 List<Command<U,V>> SequenceScheme.getCommandsList()
           
 List<Command<U,V>> ParallelScheme.getCommandsList()
           
 Collection<Class<? extends Command<?,?>>> DefaultCondition.getValidationCommands()
           
 

Methods in org.keridwen.core.messaging.internal with parameters of type Command
static
<ReturnType extends Serializable,IntermediateMessageType extends Serializable,MessageType extends Serializable>
Command<ReturnType,MessageType>
CommandFactory.compose(Command<IntermediateMessageType,MessageType> command1, Command<ReturnType,IntermediateMessageType> command2)
          Return the composition of two Commands.
static
<ReturnType extends Serializable,IntermediateMessageType extends Serializable,MessageType extends Serializable>
Command<ReturnType,MessageType>
CommandFactory.compose(Command<IntermediateMessageType,MessageType> command1, Command<ReturnType,IntermediateMessageType> command2)
          Return the composition of two Commands.
 

Method parameters in org.keridwen.core.messaging.internal with type arguments of type Command
 void DefaultCondition.registerValidationCommand(Class<? extends Command<?,?>> command)
           
 void DefaultCondition.unregisterValidationCommand(Class<? extends Command<?,?>> command)
           
 

Constructors in org.keridwen.core.messaging.internal with parameters of type Command
DefaultSupervisor(Future<ReturnType> aFuture, Command<ReturnType,?> aCommand)
          Builds a command Supervisor for the given command.
 



Copyright © 2010-2013 Artenum. All Rights Reserved.