org.objectweb.dsrg.sofa
Interface SOFAStoppable

All Known Subinterfaces:
SOFALifecycle

public interface SOFAStoppable

Interface for business code lifecycle notification.

Component is notified through this interface everytime it is going to be stopped.


Method Summary
 void stop()
          Tells component to stop.
 void stopping()
          Notify component that it is going to stop.
 

Method Detail

stopping

void stopping()
Notify component that it is going to stop.

This method does not block. It is only notification.


stop

void stop()
Tells component to stop.

This method blocks until component is prepared to be unloaded.