Package com.tenduke.command

Command framework for encapsulating and executing application logical actions and parameters.

See:
          Description

Class Summary
Batch Command implementation class that aggregates other commands.
BatchResult Command execution result for Batch command.
CallableWrapperForCommand Wrapper class for invoking commands asynchronously.
CallableWrapperForCommandList Wrapper class for invoking list of commands asynchronously Commands are be invoked in the order presented in the list and will not be asynchronous in relation to each other.
Command Abstract base class for Commands.
CommandExecutionContext Class to encapsulate context information for execution of commands.
CommandOperationResult OperationResult class for Command.
CommandOperationResultFuture<T extends CommandOperationResult> Future implementation that wraps another Future object for providing conversion from abstract string based response to a CommandOperationResult object as result.
CommandResult Result object that implementations of Command.execute(javax.security.auth.Subject, com.tenduke.command.CommandExecutionContext) return.
CommandScheduler Top level command scheduler that acts as the main provider for scheduling and executing commands.
 

Package com.tenduke.command Description

Command framework for encapsulating and executing application logical actions and parameters. The Command base class is an implementation of the well-known Gang of Four Command design pattern. CommandScheduler class is used to execute commands in a distributed system.

This library defines together with com.tenduke.distribution the basis of the generic distribution paradigm delivered with the 10Duke SDK. Developers are advised to encapsulate actions in specific classes derived from the Command base class in order to easily utilize the 10Duke SDK distribution features.