Introduction
Several concurrent life-cycles exist in Petals ESB: |
Table of contents Contributors
No contributors found for: authors on selected page(s)
|
The Petals ESB life-cyle
The Petals ESB life-cycle is very simple.
|
It contains only one state: STARTED. The implicit state 'STOPPED' does not really exist because in such state no Petals ESB process is running.
The transition from state 'STOPPED' to 'STARTED' is realized using the Petals ESB startup script 'petals-esb'. The return to the state 'STOPPED' is realized using ^C or the command 'petals-esb stop'. See Starting and stopping Petals ESB.
The shared-library life-cyle
The shared-library life-cycle is simple.
|
It contains only one state: INSTALLED. The implicit state 'UNINSTALLED' does not really exist because the shared-library is not instantiated or loaded.
The transition from state 'UNINSTALLED' to 'INSTALLED' is realized installing the shared library, and the return to the state 'UNINSTALLED' is realized uninstalling the shared-library. A shared library can be (un)installed using [Petals CLI], the Petals Autoloader or the JMX API.