An interface which is implemented by components that can be started and stopped. The
Startable.start must be called at the begin of the component lifecycle. It can be called again only after a call to
Startable.stop . The
Startable.stop method must be called at the end of the component lifecycle,
and can further be called after every
Startable.start . If a component implements the
Disposable interface as well,
Startable.stop should be called before
Disposable.dispose .
For more advanced and pluggable lifecycle support, see the functionality offered by picocontainer-gems
subproject.
See Also: org.picocontainer.Disposable See Also: the Disposable interface if you need to dispose() semantics. author: Paul Hammant author: Aslak Hellesøy |