Interface CommandService

All Known Implementing Classes:
AsyncCommandService, AuthorizationInterceptor, Ejb2LocalCommandService, EnvironmentInterceptor, Interceptor, RetryInterceptor, StandardCommandService, TransactionInterceptor

public interface CommandService

abstract extensible session facade. Developers can use this directly or extend one of the implementations with custom methods. Developers should be encouraged to use this interface as it will be kept more stable then direct usage of the API (which is still allowed). All the method implementations should be based on commands. Each of the method implementations will have a environment block. Then the command is executed and the environment is passed into the command.

Method Summary
<T> T
execute(Command<T> command)

Method Detail


<T> T execute(Command<T> command)
PvmException - if command throws an exception.