| org.prevayler.Prevayler
All known Subclasses: org.prevayler.implementation.SnapshotPrevayler,
Prevayler | public interface Prevayler (Code) | | Provides transparent persistence for all business objects in a PrevalentSystem. All commands to the system must be represented as objects implementing the Command interface and must be executed using Prevayler.executeCommand(Command).
See the demo applications in org.prevayler.demos for examples.
|
executeCommand | public Serializable executeCommand(Command command) throws Throwable(Code) | | Logs the received command for crash or shutdown recovery and executes it on the underlying PrevalentSystem.
The serializable object that was returned by the execution of command. throws: IOException - if there is trouble writing the command to one of the log files. throws: Throwable - if the execution of command throws an Exception. |
|
|