All session facades are called services in the PVM and it's related projects. A service is the front door of the API. It has a number of methods that expose the functionality of the component. The service takes care of getting or setting up an environment for each operation that is invoked.
Service methods are implemented through command classes. Each method creates a command object and the command is executed with the execute method of the CommandService. The CommandService is responsible for setting up the environment.
There are three command executors:
Each of the command services can be configured with a list of interceptors that span around the command execution. Following interceptors are available:
Following configuration can be used in default standard persistence situations:
<environment> <application> <pvm-service /> <standard-command-service> <retry-interceptor /> <environment-interceptor /> <transaction-interceptor /> </standard-command-service> ... </application> ... </environment>