|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Discardable
Implemented by a core service implementationsthat require notification when they are
discarded. This interface is only used by the
threaded service model
,
which creates a service for a short period, then discards it when notified
by the ThreadEventNotifier
.
The service instance will be discarded regardless; this interface allows the core service implementation to know immediately when this happens, so that it can release any acquired resources.
Method Summary | |
---|---|
void |
threadDidDiscardService()
Invoked when a service is being discarded. |
Method Detail |
---|
void threadDidDiscardService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |