org.ow2.bonita.pvm.internal.cmd
Interface CommandService
- All Known Implementing Classes:
- AsyncCommandService, AuthorizationInterceptor, DefaultCommandService, EnterpriseLocalCommandService, EnvironmentInterceptor, Interceptor, RetryInterceptor, SpringCommandService, StandardTransactionInterceptor
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.
execute
<T> T execute(Command<T> command)
- Throws:
PvmException
- if command throws an exception.
Copyright © 2009 OW2 Consortium. All Rights Reserved.