Interface Command<R,C,E extends Exception>
- Type Parameters:
R- the command return typeC- the command context typeE- the command execution exception type
- All Known Subinterfaces:
PrimaryOwnerCommand<I,,M, R> RuntimeCommand<R,C>
- All Known Implementing Classes:
AbstractPrimaryOwnerCommand,CancelCommand,ContainsCommand,ScheduleCommand,ScheduleWithExpirationMetaDataCommand,ScheduleWithPersistentMetaDataCommand,ScheduleWithTransientMetaDataCommand
public interface Command<R,C,E extends Exception>
A command to invoke remotely.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
execute
Execute this command with the specified context.- Parameters:
context- the execution context- Returns:
- the result of this command
- Throws:
Exception- exception that occurred during executionE
-