Startable
provides an object with a
start()
method which gets called when the Mule instance gets started. This
is mostly used by infrastructure components, but can also be implemented by service objects.
This lifecycle interface should always be implemented with its opposite lifecycle interface
Stoppable
.
In case that the
start()
method execution fails then mule will call the
Stoppable.stop()
method if the class
also implements
Stoppable
allowing the object to dispose any allocated resource during
start()