Interface IComponentInstance2
interface IComponentInstance2
Extends IComponentInstance
IComponentInstance2 interface provides the additional method to mark execution as complete for
a component instance.
Methods
executionCompleted()
void executionCompleted()
Marks execution as complete for a component instance and initiates termination.
Initiates the shutdown sequence and ultimately invokes the onStop callback to stop the
component.
For the invocation to be successful this method should be called from within the
application process this component instance is a part of.
Throws
InvalidOperationError— if called from outside of the application process this instance is a part of.

