Etherialization

The etherialization stage is the component equivalent of an object finalization. Etherialization covers the stopping of a running component and subsequent disposal. Initiation of the etherialization phase on a component instance is exclusively controlled by it's container.

Etherialization Stage Table

execution

A component implementing the the Startable lifecycle interface will be shutdown by the container.

Startable Example:

    /**
     * Stop the component.
     */
     public void stop() throws Exception
     {
         ...
     }

disposal

A component may participate in end-of-life processing by implementing the Disposable lifecycle interface. An implementation will typically released references during this stage.

Example:

    /**
     * Disposal of the component.
     */
     public void dispose()
     {
         ...
     }